[Paper Review] Edge Detection based on Kernel Density Estimation
This paper proposes an edge detection method based on kernel density estimation (KDE) that identifies edges as pixels with minimum density in a joint spatial-range feature space. By modeling image intensity and position jointly, the method preserves edge continuity and achieves competitive performance against classical detectors like Canny and Sobel, with quantitative validation on Berkeley and medical images showing strong alignment with ground truth.
Edges of an image are considered a crucial type of information. These can be extracted by applying edge detectors with different methodology. Edge detection is a vital step in computer vision tasks, because it is an essential issue for pattern recognition and visual interpretation. In this paper, we propose a new method for edge detection in images, based on the estimation by kernel of the probability density function. In our algorithm, pixels in the image with minimum value of density function are labeled as edges. The boundary between two homogeneous regions is defined in two domains: the spatial/lattice domain and the range/color domain. Extensive experimental evaluations proved that our edge detection method is significantly a competitive algorithm.
Motivation & Objective
- To develop a novel edge detection algorithm that improves edge continuity by operating in a joint spatial and intensity domain.
- To leverage kernel density estimation to automatically determine optimal thresholds for edge detection without manual tuning.
- To outperform classical edge detectors (e.g., Canny, Sobel) in accuracy and edge continuity on diverse image types.
- To validate the method using standard metrics (PRI, NPRI, NED) against ground-truth segmentation from the Berkeley database.
- To demonstrate applicability to real-world medical imaging through preliminary results.
Proposed method
- The method estimates the probability density function of image pixels using a bivariate kernel density estimator that combines spatial and intensity (range) domains.
- A product kernel is used: $\hat{f}(x) = \frac{c}{n(h_s)^p(h_r)^q} \sum_{i=1}^n k_s\left(\left\|\frac{x - x_i}{h_s}\right\|^2\right) k_r\left(\left\|\frac{x - x_i}{h_r}\right\|^2\right)$, where $k_s$ and $k_r$ are radial kernels for spatial and range domains.
- Edges are identified as pixels with the minimum value of the estimated density function, using a thresholding step on the density map.
- The algorithm uses uniform and Gaussian kernels for spatial and range components, respectively, with bandwidths $h_s$ and $h_r$ as user-defined parameters.
- The method is implemented on CPU with $\Theta(hn)$ complexity and on GPU with $\Theta(1)$ complexity, enabling efficient parallelization.
- Edge continuity is preserved by considering both spatial proximity and intensity variation in the density estimation.
Experimental results
Research questions
- RQ1Can kernel density estimation in a joint spatial-range domain improve edge continuity compared to classical methods?
- RQ2How does the proposed edge detection method perform relative to ground truth on the Berkeley Segmentation Dataset?
- RQ3To what extent does the KDE-based thresholding strategy outperform fixed-threshold or derivative-based methods?
- RQ4Can the method effectively detect edges in medical images, where noise and intensity variation are common?
- RQ5What is the computational efficiency of the algorithm, especially in GPU-parallelized form?
Key findings
- The proposed EDD algorithm achieved high similarity to ground truth segmentation on the Berkeley database, with PRI, NPRI, and NED scores comparable or superior to classical methods.
- The method demonstrated superior edge continuity, avoiding the discontinuities commonly seen in classical detectors like Canny and Sobel.
- Quantitative validation using PRI, NPRI, and NED confirmed that the EDD method is highly competitive with state-of-the-art algorithms.
- The algorithm’s computational complexity is $\Theta(hn)$ on CPU and $\Theta(1)$ on GPU, indicating strong scalability and parallelization potential.
- Preliminary results on medical images show the method’s applicability to real-world clinical imaging tasks with adjustable bandwidths.
- The use of joint spatial-range density estimation enabled robust edge detection even in complex, noisy images.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.