Hough transform: Difference between revisions
Content deleted Content added
Line 150: | Line 150: | ||
|.([: <:@(#/.~) (i.h)&,)"1&.|: rho NB. consolidate into picture |
|.([: <:@(#/.~) (i.h)&,)"1&.|: rho NB. consolidate into picture |
||
)</lang> |
)</lang> |
||
[[Image:JHoughTransform.png|320px200px|thumb|right|Resulting viewmat image from J implementation of Hough Transform on sample pentagon image]]'''Example use:''' |
|||
'''Example use:''' |
|||
<lang j> require 'viewmat media/platimg' |
|||
Img=: readimg jpath '~temp/pentagon.png' |
Img=: readimg jpath '~temp/pentagon.png' |
||
viewmat 320 240 houghTransform _1 > Img</lang> |
viewmat 320 240 houghTransform _1 > Img</lang> |
||
<br style="clear:both" /> |
|||
=={{header|MATLAB}}== |
=={{header|MATLAB}}== |