Anonymous user
Hough transform: Difference between revisions
Fixed a problem with the MATLAB output image
(Fixed a problem with the MATLAB output image) |
|||
Line 196:
<lang MATLAB>>> uiopen('C:\Documents and Settings\owner\Desktop\Chris\MATLAB\RosettaCode\180px-Pentagon.png',1)
>> houghTransform(cdata(:,:,1)<255,1/200); %The image from uiopen is stored in cdata. The reason why the image is cdata<255 is because the "edge" pixels are black.</lang>
[[Image:HoughTransformHex.png
<br style="clear:both" />
=={{header|Tcl}}==
{{libheader|Tk}}
|