Table of Contents

Method Process

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Process(IObservable<ConnectedComponent>)

Computes the extremities, or endpoints, of each connected component in an observable sequence.

public override IObservable<Tuple<Point2f, Point2f>> Process(IObservable<ConnectedComponent> source)

Parameters

source IObservable<ConnectedComponent>

The sequence of connected components for which to compute the extremities.

Returns

IObservable<Tuple<Point2f, Point2f>>

A pair of vertices specifying the two extremities, or endpoints, of each connected component in the sequence. If the connected component has no vertices, the endpoint coordinates will be set to NaN.