Table of Contents

Class SortBinaryRegions

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that sorts each collection of binary regions in the sequence by descending order of area.

public class SortBinaryRegions : Transform<ConnectedComponentCollection, ConnectedComponentCollection>
Inheritance
SortBinaryRegions
Inherited Members

Methods

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.