enum cv::HoughModes
Overview
Variants of a Hough transform. Moreā¦
#include <imgproc.hpp> enum HoughModes { HOUGH_STANDARD = 0, HOUGH_PROBABILISTIC = 1, HOUGH_MULTI_SCALE = 2, HOUGH_GRADIENT = 3, };
Detailed Documentation
Variants of a Hough transform.
Enum Values
HOUGH_STANDARD
classical or standard Hough transform. Every line is represented by two floating-point numbers \((\rho, \theta)\), where \(\rho\) is a distance between (0,0) point and the line, and \(\theta\) is the angle between x-axis and the normal to the line. Thus, the matrix must be (the created sequence will be) of CV_32FC2 type
HOUGH_PROBABILISTIC
probabilistic Hough transform (more efficient in case if the picture contains a few long linear segments). It returns line segments rather than the whole line. Each segment is represented by starting and ending points, and the matrix must be (the created sequence will be) of the CV_32SC4 type.
HOUGH_MULTI_SCALE
multi-scale variant of the classical Hough transform. The lines are encoded the same way as HOUGH_STANDARD.
HOUGH_GRADIENT
basically 21HT, described in [94]