Class EnumerateContours
Represents an operator that generates a sequence of all the contours at the same level of the hierarchy, for each contour in the input sequence.
public class EnumerateContours : Combinator<Contour, Contour>
- Inheritance
-
EnumerateContours
- Inherited Members
Methods
Process(IObservable<Contours>)
Generates a sequence of all the contours at the top level of the hierarchy, for each hierarchy of contours in an observable sequence.
public IObservable<Contour> Process(IObservable<Contours> source)
Parameters
source
IObservable<Contours>A sequence of Contours objects representing the hierarchy of contours to enumerate.
Returns
- IObservable<Contour>
A sequence of OpenCV.Net.Contour objects representing all the polygonal contours at the top level of the hierarchy.
Process(IObservable<Contour>)
Generates a sequence of all the contours at the same level of the hierarchy, for each contour in an observable sequence.
public override IObservable<Contour> Process(IObservable<Contour> source)
Parameters
source
IObservable<Contour>A sequence of OpenCV.Net.Contour objects representing the first contour of the hierarchy to enumerate.
Returns
- IObservable<Contour>
A sequence of OpenCV.Net.Contour objects representing all the polygonal contours at the same level of the hierarchy, including each of the contours in the
source
sequence.
Process(IObservable<Seq>)
Generates a sequence of all the contours at the same level of the hierarchy, for each contour in an observable sequence.
public IObservable<Contour> Process(IObservable<Seq> source)
Parameters
source
IObservable<Seq>A sequence of Seq objects representing the first contour of the hierarchy to enumerate.
Returns
- IObservable<Contour>
A sequence of OpenCV.Net.Contour objects representing all the polygonal contours at the same level of the hierarchy, including each of the contours in the
source
sequence.