Other
This matlab code detects lines in a binary image using common computer vision operation known as the Hough Transform. This is just a standard implementaion of Hough transform for lines in order to show how this method works.
Comments:
Function uses Standard Hough Transform to detect Lines in a binary image.
According to the Hough Transform, each pixel in image space
corresponds to a line in Hough space and vise versa.This function uses
polar representation of lines i.e. x*cos(teta)+y*sin(teta)=p to detect
lines in binary image. upper left corner of image is the origin of polar coordinate
system.
Usage: [pdetect,tetadetect,Accumulator] = houghline(Imbinary,pstep,tetastep,thresh)
Arguments:
 
matlab
检测
基于
变换
hough
直线
No comment