Table of Contents

Class MergeBinaryRegions

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that merges connected component collections in the sequence into a single collection.

public class MergeBinaryRegions : Transform<Tuple<ConnectedComponentCollection, ConnectedComponentCollection>, ConnectedComponentCollection>
Inheritance
MergeBinaryRegions
Inherited Members

Methods

Process(IObservable<Tuple<ConnectedComponentCollection, ConnectedComponentCollection>>)

Merges connected component collections in an observable sequence into a single collection.

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

Parameters

source IObservable<Tuple<ConnectedComponentCollection, ConnectedComponentCollection>>

A sequence of the connected component collection pairs to merge.

Returns

IObservable<ConnectedComponentCollection>

A sequence of ConnectedComponentCollection objects representing the merged collections.