Table of Contents

Class ContourPoints

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that copies all points of each contour in the sequence to a new array.

public class ContourPoints : Transform<Contour, Point[]>
Inheritance
Combinator<Contour, Point[]>
Transform<Contour, Point[]>
ContourPoints
Inherited Members

Methods

Process(IObservable<ConnectedComponent>)

Copies all points of each contour in an observable sequence to a new array.

public IObservable<Point[]> Process(IObservable<ConnectedComponent> source)

Parameters

source IObservable<ConnectedComponent>

The sequence of ConnectedComponent objects from which to extract the points.

Returns

IObservable<Point[]>

A sequence of arrays containing all points of each contour in the source sequence.

Process(IObservable<Contour>)

Copies all points of each contour in an observable sequence to a new array.

public override IObservable<Point[]> Process(IObservable<Contour> source)

Parameters

source IObservable<Contour>

The sequence of contours from which to extract the points.

Returns

IObservable<Point[]>

A sequence of arrays containing all points of each contour in the source sequence.

Process(IObservable<Seq>)

Copies all points of each contour in an observable sequence to a new array.

public IObservable<Point[]> Process(IObservable<Seq> source)

Parameters

source IObservable<Seq>

The sequence of Seq objects from which to extract the points.

Returns

IObservable<Point[]>

A sequence of arrays containing all points of each contour in the source sequence.