Table of Contents

Class Centroid

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that computes the centroid of each set of points, image moments, or polygonal contour in the sequence.

public class Centroid : Transform<Point[], Point2f>
Inheritance
Centroid
Inherited Members

Methods

Process(IObservable<ConnectedComponent>)

Extracts the centroid of each connected component in an observable sequence.

Process(IObservable<Contour>)

Computes the centroid of each polygonal contour in an observable sequence.

Process(IObservable<IplImage>)

Computes the centroid of each image in an observable sequence.

Process(IObservable<Point2f[]>)

Computes the centroid of each array of points in an observable sequence.

Process(IObservable<Point[]>)

Computes the centroid of each array of points in an observable sequence.

Process(IObservable<IEnumerable<Point2f>>)

Computes the centroid of each collection of points in an observable sequence.

Process(IObservable<IEnumerable<Point>>)

Computes the centroid of each collection of points in an observable sequence.