Javascript must be enabled to continue!
Comparison of Sobel, Prewitt, and Canny Edge Detection Methods in Digital Images
View through CrossRef
Edge detection is a fundamental operation in digital image processing, enabling identification of object boundaries in an image. This study presents a systematic comparative evaluation of three widely used edge detection algorithms Sobel, Prewitt, and Canny applied to a dataset of 20 grayscale images (512×512 pixels) from the USC-SIPI Image Database, spanning four object categories: simple geometric objects, complex textures, low-noise conditions, and medium-noise conditions. Each method was evaluated using four metrics: Mean Square Error (MSE), Peak Signal-to-Noise Ratio (PSNR), precision/recall/F-measure (with Canny output as the reference ground truth for Sobel and Prewitt), and average computational time. All experiments were conducted in Python 3.10 with OpenCV 4.7 on a dedicated Intel Core i7 (11th Gen) workstation running Ubuntu 22.04 LTS with 16 GB RAM to ensure fair benchmarking. Results show that the Canny method consistently outperforms the others in detection quality, achieving the lowest average MSE (7.26), the highest average PSNR (40.06 dB), and the best F-measure (0.91), albeit at a 3–4× higher computational cost (8.76 ms vs. ~2.4 ms for Sobel/Prewitt). Sobel and Prewitt provide comparable speed with lower precision, making them suitable for real-time applications. Notably, under medium-noise conditions, Canny's MSE advantage widens markedly, highlighting its superior noise robustness. A brief comparison with modern deep learning-based approaches (HED, BDCN) contextualises classical methods within the current state of the art. The study concludes that Canny is the superior choice for high-accuracy tasks, while Sobel and Prewitt remain practical for latency-constrained environments..
Title: Comparison of Sobel, Prewitt, and Canny Edge Detection Methods in Digital Images
Description:
Edge detection is a fundamental operation in digital image processing, enabling identification of object boundaries in an image.
This study presents a systematic comparative evaluation of three widely used edge detection algorithms Sobel, Prewitt, and Canny applied to a dataset of 20 grayscale images (512×512 pixels) from the USC-SIPI Image Database, spanning four object categories: simple geometric objects, complex textures, low-noise conditions, and medium-noise conditions.
Each method was evaluated using four metrics: Mean Square Error (MSE), Peak Signal-to-Noise Ratio (PSNR), precision/recall/F-measure (with Canny output as the reference ground truth for Sobel and Prewitt), and average computational time.
All experiments were conducted in Python 3.
10 with OpenCV 4.
7 on a dedicated Intel Core i7 (11th Gen) workstation running Ubuntu 22.
04 LTS with 16 GB RAM to ensure fair benchmarking.
Results show that the Canny method consistently outperforms the others in detection quality, achieving the lowest average MSE (7.
26), the highest average PSNR (40.
06 dB), and the best F-measure (0.
91), albeit at a 3–4× higher computational cost (8.
76 ms vs.
~2.
4 ms for Sobel/Prewitt).
Sobel and Prewitt provide comparable speed with lower precision, making them suitable for real-time applications.
Notably, under medium-noise conditions, Canny's MSE advantage widens markedly, highlighting its superior noise robustness.
A brief comparison with modern deep learning-based approaches (HED, BDCN) contextualises classical methods within the current state of the art.
The study concludes that Canny is the superior choice for high-accuracy tasks, while Sobel and Prewitt remain practical for latency-constrained environments.
Related Results
Geo‐information mapping improves Canny edge detection method
Geo‐information mapping improves Canny edge detection method
Abstract
Aiming at the shortcomings of the current Canny edge detection method in terms of noise removal, threshold setting, and edge recognition, this paper prop...
Advancements in Edge Detection Techniques for Image Enhancement: A Comprehensive Review
Advancements in Edge Detection Techniques for Image Enhancement: A Comprehensive Review
Edge detection is a fundamental algorithm in image processing and computer vision, widely applied in various domains such as medical imaging and autonomous driving. This comprehens...
ANALYSIS OF CANNY EDGE DETECTION METHOD FOR FACIAL RECOGNITION IN DIGITAL IMAGE PROCESSING
ANALYSIS OF CANNY EDGE DETECTION METHOD FOR FACIAL RECOGNITION IN DIGITAL IMAGE PROCESSING
The document explores the application of the Canny Edge Detection method in facial recognition systems, specifically for identifying edge patterns in digital images. In the context...
Access Denied
Access Denied
Introduction
As social-distancing mandates in response to COVID-19 restricted in-person data collection methods such as participant observation and interviews, researchers turned t...
Versatile Image Edge Detection Algorithm Based on Canny Operator
Versatile Image Edge Detection Algorithm Based on Canny Operator
For single edge discovery techniques causing significant and frail angle change edge missing issues, this paper embraces the strategy for joining worldwide with neighborhood edge l...
Aplikasi Pengolahan Citra Untuk Peningkatan Deteksi Tepi Melalui Segmentasi Citra
Aplikasi Pengolahan Citra Untuk Peningkatan Deteksi Tepi Melalui Segmentasi Citra
An important digital image processing is image segmentation, which separates objects from the background for further analysis. One segmentation technique is edge detection, which l...
An Analysis of Edge Detection Methodologies in Spatial and Morphological Perspective
An Analysis of Edge Detection Methodologies in Spatial and Morphological Perspective
Now-a-days, edge detection through image processing is become core research due to its wide application in different fields such as medical and industries. In digital image process...
ANALISIS PERBANDINGAN METODE DETEKSI TEPI ROBERT, PREWITT, DAN CANNY UNTUK PENDETEKSIAN TEPI TULISAN AKSARA BALI
ANALISIS PERBANDINGAN METODE DETEKSI TEPI ROBERT, PREWITT, DAN CANNY UNTUK PENDETEKSIAN TEPI TULISAN AKSARA BALI
Edge detection is an important analysis in digital image processing. An edge in an image is a border between two different objects or structures, and this edge information can prov...

