Table of Contents

Class MinimumEnclosingCircle

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that finds the parameters of the circle with minimal area enclosing each set of 2D points in the sequence.

public class MinimumEnclosingCircle : Transform<Contour, Circle>
Inheritance
Combinator<Contour, Circle>
Transform<Contour, Circle>
MinimumEnclosingCircle
Inherited Members

Methods

Process(IObservable<ConnectedComponentCollection>)

Finds all the circles with minimal area enclosing each of the connected components in an observable sequence.

public IObservable<Circle[]> Process(IObservable<ConnectedComponentCollection> source)

Parameters

source IObservable<ConnectedComponentCollection>

The sequence of ConnectedComponentCollection objects representing the contours for which to find the minimum enclosing circle.

Returns

IObservable<Circle[]>

A sequence of Circle arrays representing the parameters of the circles with minimal area enclosing each connected component.

Process(IObservable<Contour>)

Finds the parameters of the circle with minimal area enclosing the array of points for each polygonal contour in an observable sequence.

public override IObservable<Circle> Process(IObservable<Contour> source)

Parameters

source IObservable<Contour>

The sequence of OpenCV.Net.Contour objects for which to find the minimum enclosing circle.

Returns

IObservable<Circle>

A sequence of Circle objects representing the parameters of the circle with minimal area enclosing each polygonal contour.

Process(IObservable<Mat>)

Finds the parameters of the circle with minimal area enclosing each array of points in an observable sequence.

public IObservable<Circle> Process(IObservable<Mat> source)

Parameters

source IObservable<Mat>

The sequence of Mat objects specifying the array of points for which to find the minimum enclosing circle.

Returns

IObservable<Circle>

A sequence of Circle objects representing the parameters of the circle with minimal area enclosing each array of points.

Process(IObservable<Point2f[]>)

Finds the parameters of the circle with minimal area enclosing each array of points in an observable sequence.

public IObservable<Circle> Process(IObservable<Point2f[]> source)

Parameters

source IObservable<Point2f[]>

The sequence of Point2f arrays for which to find the minimum enclosing circle.

Returns

IObservable<Circle>

A sequence of Circle objects representing the parameters of the circle with minimal area enclosing each array of points.