Class FindContours
Represents an operator that finds the contours of connected components for each binary image in the sequence.
public class FindContours : Transform<IplImage, Contours>
- Inheritance
-
FindContours
- Inherited Members
Properties
MaxArea
Gets or sets the maximum area for individual contours to be accepted.
public double? MaxArea { get; set; }
Property Value
Method
Gets or sets a value specifying the approximation method used to refine the contours.
public ContourApproximation Method { get; set; }
Property Value
- ContourApproximation
MinArea
Gets or sets the minimum area for individual contours to be accepted.
public double? MinArea { get; set; }
Property Value
Mode
Gets or sets a value specifying the contour retrieval strategy.
public ContourRetrieval Mode { get; set; }
Property Value
- ContourRetrieval
Offset
Gets or sets the optional offset to apply to individual contour points.
public Point Offset { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Finds the contours of connected components for each binary image in an observable sequence.
public override IObservable<Contours> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>The sequence of binary images for which to find the connected component contours.
Returns
- IObservable<Contours>
A sequence of Contours objects representing the hierarchy of polygonal contours extracted from each binary image.