Canny edge detector: Difference between revisions

Content added Content deleted
(Added MATLAB (built-in) example)
Line 832: Line 832:
<lang Mathematica>Export["out.bmp", EdgeDetect[Import[InputString[]]]];</lang>
<lang Mathematica>Export["out.bmp", EdgeDetect[Import[InputString[]]]];</lang>
Mathematica uses canny edge detection by default. This seems so cheaty next to all of these giant answers...
Mathematica uses canny edge detection by default. This seems so cheaty next to all of these giant answers...

=={{header|MATLAB}}==
There is a built-in function, [http://www.mathworks.com/help/images/ref/edge.html edge], that has Canny Edge Detection as one of its options.
<lang MATLAB>BWImage = edge(GrayscaleImage,'canny');</lang>


=={{header|Tcl}}==
=={{header|Tcl}}==