A Probabilistic Framework for Edge Detection and Scale Selection

David H. Marimont, Yossi RubnerICCV 1998

Introduction

Edge detection is a cornerstone of computer vision, yet traditional methods often rely on heuristic parameters that fail in complex real-world scenarios. Classic approaches, such as the Canny detector, typically identify edges by locating peaks in gradient magnitude. This methodology suffers from two primary drawbacks: the difficulty of setting universal thresholds for varying noise levels and the "scale problem," where a single analysis window cannot effectively capture both sharp details and diffuse features like soft shadows.

This paper proposes a rigorous statistical framework that replaces arbitrary thresholding with the calculation of the actual probability of an edge's existence at a given pixel, coupled with a confidence score to guide automatic scale selection.

Methodology: From Gradients to Probabilities

The core of the proposed framework lies in the mathematical analysis of zero crossings in the second derivative of the image signal.

1D Statistical Model

The authors model the image signal and sensor noise as Gaussian processes. By applying Fieller’s theorem—which describes the distribution of the ratio of two normal variables—they calculate the probability that a zero crossing occurs within the spatial bounds of a single pixel.

Figure 1: Mathematical framework for determining edge probability based on the ratio of second and third derivatives relative to pixel width.

Instead of standard Gaussian derivatives, the framework utilizes discrete Lindeberg operators, which are specifically designed to preserve scale-space properties in digital grids.

Confidence and Scale Selection

A critical innovation is the separation of "edge probability" from "confidence probability." While edge probability indicates the likelihood of a feature's presence, the confidence probability (derived via a chi-squared test) determines if the measured derivatives are statistically significant or merely products of sensor noise.

This distinction enables automatic scale selection: the algorithm identifies the "minimum reliable scale"—the smallest blur level where the confidence probability exceeds a predefined threshold. This allows the system to maintain high precision for sharp edges while automatically "zooming out" to coarser scales for diffuse or noisy regions.

Experimental Evaluation

The algorithm was evaluated on synthetic signals to validate the 1D model and on natural images to test its robustness in complex scenes.

Figure 3: Qualitative results on a natural "flower" image showing successful capture of low-contrast textures and fine details.

In the "flower" dataset, the probabilistic approach successfully localized edges of a stem only one pixel wide with extremely low contrast—features that gradient-thresholding methods typically miss. Furthermore, in tests involving human figures and shadows, the algorithm demonstrated its ability to use fine scales for sharp body contours and coarser scales for diffuse shadows.

Conclusion and Future Work

By shifting edge detection from ad-hoc thresholding to a principled probabilistic framework, this work provides a robust solution to the scale selection problem. While the method is more computationally intensive than simple filtering and requires accurate noise estimation, it offers superior sub-pixel localization and sensitivity to low-contrast features. Future research may extend this probabilistic logic to the detection of more complex features, such as ridges and junctions.

Summary updated

BibTeX
@inproceedings{marimont1998probabilistic,
  author = {David H. Marimont and Yossi Rubner},
  title = {{A Probabilistic Framework for Edge Detection and Scale Selection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {1998},
  doi = {10.1109/iccv.1998.710720},
}
Figure