The Hough transform is a feature-extraction technique that is used to detect lines and circles in an image. In many cases, an edge detector is used as a preprocessing step to get contours. And then lines will be searched by Hough transforms.
In Emgu CV, we can call the
HoughLines or the
HoughLinesBinary method to deal with the lines in images. They do not show the steps of complex computation to the users. Instead, its return value and the parameters are our first concern. The difference in these two methods is explained as follows:
mage (TColor, TDepth).HoughLines: Applies Canny Edge Detector followed by the Probabilistic Hough transform to find line segments in the image
Image (TColor, TDepth).HoughLines