To find vertical Hough lines in MATLAB, follow these steps:
main.m50 chars3 lines
main.m34 chars2 lines
hough
function. Set the 'Theta'
parameter to a vector of values around the vertical axis, e.g. (-90:89)
.main.m45 chars2 lines
houghpeaks
function. Set the 'Threshold'
parameter to a value that will detect the strongest lines.main.m55 chars2 lines
houghlines
function. Set the 'Theta'
parameter to the same vector used in step 3.main.m59 chars2 lines
line
function.main.m161 chars6 lines
gistlibby LogSnag