Class HoughLines
Represents an operator that finds lines on each binary image in the sequence using a probabilistic Hough transform.
public class HoughLines : Transform<IplImage, LineSegment[]>
- Inheritance
-
HoughLines
- Inherited Members
Properties
MaxLineGap
Gets or sets the maximum gap between line segments lying on the same line in order to consider them as a single line segment.
public double MaxLineGap { get; set; }
Property Value
MinLineLength
Gets or sets the minimum line length.
public double MinLineLength { get; set; }
Property Value
Rho
Gets or sets the distance resolution, in units of pixels.
[Precision(2, 0.01)]
[Range(0.1, 2147483647)]
public double Rho { get; set; }
Property Value
Theta
Gets or sets the angle resolution, in radians.
[Range(0.01, 3.141592653589793)]
public double Theta { get; set; }
Property Value
Threshold
Gets or sets the accumulator threshold. A line is returned when the corresponding accumulator is greater than this value.
[Range(1, 2147483647)]
public int Threshold { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Finds lines on each binary image in an observable sequence using a probabilistic Hough transform.
public override IObservable<LineSegment[]> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>The sequence of images on which to find Hough lines.
Returns
- IObservable<LineSegment[]>
A sequence of LineSegment arrays representing the lines extracted from each image in the
source
sequence.