[Paper Review] Comparative Study Of Image Edge Detection Algorithms
This paper conducts a comparative analysis of two distinct image edge detection algorithms—Canny and Sobel—evaluating their performance across diverse image conditions. Using quantitative metrics like precision, recall, and F1-score, the study finds that the Canny detector outperforms Sobel in edge localization and noise robustness, especially in complex and noisy images, making it more suitable for object detection tasks in computer vision.
Since edge detection is in the forefront of image processing for object detection, it is crucial to have a good understanding of edge detection algorithms. The reason for this is that edges form the outline of an object. An edge is the boundary between an object and the background, and indicates the boundary between overlapping objects. This means that if the edges in an image can be identified accurately, all of the objects can be located and basic properties such as area, perimeter, and shape can be measured. Since computer vision involves the identification and classification of objects in an image, edge detection is an essential tool. We tested two edge detectors that use different methods for detecting edges and compared their results under a variety of situations to determine which detector was preferable under different sets of conditions.
Motivation & Objective
- To evaluate and compare the effectiveness of Canny and Sobel edge detection algorithms under varying image conditions.
- To identify the strengths and limitations of each algorithm in terms of edge localization, noise sensitivity, and computational efficiency.
- To determine the optimal edge detection method for object detection and segmentation in computer vision pipelines.
- To provide empirical evidence on algorithm performance using standard evaluation metrics such as precision, recall, and F1-score.
Proposed method
- Implementation of the Canny edge detection algorithm, which uses Gaussian smoothing, gradient computation, non-maximum suppression, and hysteresis thresholding.
- Implementation of the Sobel edge detection algorithm, which applies horizontal and vertical gradient filters followed by magnitude computation.
- Application of both algorithms on a diverse set of test images, including synthetic, real-world, and noisy images.
- Evaluation of results using standard metrics: precision, recall, and F1-score to quantify edge detection accuracy.
- Use of visual inspection and quantitative comparison to assess edge localization and noise robustness.
- Systematic variation of image conditions (e.g., noise levels, contrast, texture) to test algorithm stability.
Experimental results
Research questions
- RQ1How do the Canny and Sobel edge detectors perform in terms of precision and recall across different image types?
- RQ2Which algorithm provides better edge localization and noise robustness in real-world and noisy image conditions?
- RQ3Under what image conditions does the Canny detector significantly outperform the Sobel detector?
- RQ4How does the computational complexity of each algorithm affect their suitability for real-time applications?
- RQ5Can the Canny detector reliably detect weak edges while suppressing false positives compared to Sobel?
Key findings
- The Canny edge detector achieved a higher F1-score (mean of 0.89) compared to Sobel (mean of 0.72), indicating superior overall accuracy.
- Canny demonstrated significantly better noise robustness, maintaining high edge detection quality even at high noise levels.
- Sobel showed higher sensitivity to noise, resulting in fragmented and false edges in noisy images.
- Canny provided better edge localization, with edges closely aligned to true object boundaries, as confirmed by visual and metric evaluation.
- Sobel produced thicker edges and more false positives, especially in textured or low-contrast regions.
- The Canny algorithm outperformed Sobel in detecting weak and subtle edges, particularly in images with complex backgrounds.
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.