This correspondence describes a new algorithm for extracting edges from natural images. Starting from a simple image model, the algorithm poses the problem of edge extraction as a statistical classifier problem. The algorithm is capable of extracting and detecting edges from images even in the presence of noise. A step by step mathematical derivation of the algorithm reveals the flexibility of the algorithm with pertinent parameters that can be varied for the specific need of the user. Finally, the proposed edge operator is compared to the well-known Marr-Hildreth's edge operator.