Edge detection is an image processing technique for finding the boundaries of objects within images.
How Edge Detection Works
Edge detection works by detecting discontinuities in brightness. It is used for image segmentation and data extraction in areas such as image processing, computer vision, and machine vision.
Common edge detection algorithms include Sobel, Canny, Prewitt, Roberts, and fuzzy logic methods.
![Image segmentation using the Sobel method](https://au.mathworks.com/discovery/edge-detection/_jcr_content/mainParsys/band/mainParsys/columns/75e71740-2bdd-46b6-af77-df48db0f81a9/image_0_copy.adapt.full.medium.jpg/1723190567218.jpg)
Image segmentation using the Sobel method.
![Image Segmentation Using The Canny Method](https://au.mathworks.com/discovery/edge-detection/_jcr_content/mainParsys/band/mainParsys/columns/75e71740-2bdd-46b6-af77-df48db0f81a9/image_1_copy.adapt.full.medium.jpg/1723190567224.jpg)
Image segmentation using the Canny method.
![Image segmentation using Fuzzy Logic method Image segmentation using Fuzzy Logic method](https://au.mathworks.com/discovery/edge-detection/_jcr_content/mainParsys/band/mainParsys/columns/75e71740-2bdd-46b6-af77-df48db0f81a9/image_2_copy.adapt.full.medium.jpg/1723190567234.jpg)
Image segmentation using a Fuzzy Logic method.
For more details, see Image Processing Toolbox.
Keep Exploring This Topic
Resources
Expand your knowledge through documentation, examples, videos, and more.
Discover More
- Edge Detection with MATLAB (3:24) - Video
- Image Processing Made Easy (31:14) - Video
- Image Processing Toolbox Apps – Functions
- Steve on Image Processing with MATLAB – Blog