Grayscale Canny Edge Detection

Performs Canny edge detection with grayscale magnitude and direction outputs
445 Downloads
Updated 10 Sep 2015

View License

[MAG,THETA,DX,DY] = canny(IM) computes the magnitude and angle of local
intensity gradients in 2-D image IM. DX and DY are the independent X-
and Y-component gradients.

[MAG,THETA,DX,DY] = canny(IM,SIGMA) changes the standard deviation of
the Gaussian smoothing kernel. By default, SIGMA = SQRT(2).

Cite As

Jered Wells (2024). Grayscale Canny Edge Detection (https://www.mathworks.com/matlabcentral/fileexchange/52956-grayscale-canny-edge-detection), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0