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|frame|thumb|left|360x200px|Image produced by MATLAB implementation of the Hough transform when applied to the sample pentagon image.]]
<br style="clear:both" />
 
=={{header|Tcl}}==
{{libheader|Tk}}
Anonymous user