Table of Contents

Class LargestBinaryRegion

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that finds the largest binary region from each collection of connected components in the sequence.

public class LargestBinaryRegion : Transform<ConnectedComponentCollection, ConnectedComponent>
Inheritance
LargestBinaryRegion
Inherited Members

Methods

Process(IObservable<ConnectedComponentCollection>)

Finds the largest binary region from each collection of connected components in an observable sequence.

public override IObservable<ConnectedComponent> Process(IObservable<ConnectedComponentCollection> source)

Parameters

source IObservable<ConnectedComponentCollection>

A sequence of ConnectedComponentCollection objects.

Returns

IObservable<ConnectedComponent>

A ConnectedComponent representing the largest binary region from each collection of connected components in the source sequence, or the empty region if the collection has no elements.