Table of Contents

Method Process

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Process(IObservable<ConnectedComponentCollection>)

Sorts each collection of binary regions in an observable sequence by descending order of area.

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

Parameters

source IObservable<ConnectedComponentCollection>

A sequence of ConnectedComponentCollection objects to sort.

Returns

IObservable<ConnectedComponentCollection>

A sequence containing the sorted ConnectedComponentCollection objects, where the sequence of connected components is ordered by descending order of the area of each component.