Canny edge detector: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (alphabetize, minor clean-up) |
|||
Line 667: | Line 667: | ||
imIn.cannyEdgeDetection(45, 50, 1.0f).savePGM("lena_canny.pgm"); |
imIn.cannyEdgeDetection(45, 50, 1.0f).savePGM("lena_canny.pgm"); |
||
}</lang> |
}</lang> |
||
=={{header|Go}}== |
=={{header|Go}}== |
||
Line 873: | Line 870: | ||
<lang MATLAB>BWImage = edge(GrayscaleImage,'canny');</lang> |
<lang MATLAB>BWImage = edge(GrayscaleImage,'canny');</lang> |
||
=={{ |
=={{header|Phix}}== |
||
{{improve|Phix|Port to pGUI for linux and 64 bit compatibility.}} |
{{improve|Phix|Port to pGUI for linux and 64 bit compatibility.}} |
||
The file demo\Arwen32dibdemo\manip.exw in the standard distribution contains a menu entry for this, Manipulate/Filter/Detect Edges, along with 15 or so other effects. It is however windows-32-bit only, and could do with being ported to pGUI. |
The file demo\Arwen32dibdemo\manip.exw in the standard distribution contains a menu entry for this, Manipulate/Filter/Detect Edges, along with 15 or so other effects. It is however windows-32-bit only, and could do with being ported to pGUI. |
||
=={{ |
=={{header|Python}}== |
||
In Python, Canny edge detection would normally be done using [http://scikit-image.org/docs/dev/auto_examples/plot_canny.html scikit-image] or OpenCV-Python. Here is an approach using numpy/scipy: |
In Python, Canny edge detection would normally be done using [http://scikit-image.org/docs/dev/auto_examples/plot_canny.html scikit-image] or OpenCV-Python. Here is an approach using numpy/scipy: |