Method Process
Process(IObservable<ConnectedComponentCollection>)
Takes the specified number of binary regions from each collection in an observable sequence.
public override IObservable<ConnectedComponentCollection> Process(IObservable<ConnectedComponentCollection> source)
Parameters
source
IObservable<ConnectedComponentCollection>A sequence of ConnectedComponentCollection objects from which to take the specified number of binary regions.
Returns
- IObservable<ConnectedComponentCollection>
A sequence of ConnectedComponentCollection objects, where each collection always contains the specified number of binary regions. If the corresponding collection in the original sequence does not have enough regions, the missing elements are set to the empty region.
Process(IObservable<IEnumerable<ConnectedComponent>>)
Takes the specified number of binary regions from each collection in an observable sequence.
public IObservable<ConnectedComponentCollection> Process(IObservable<IEnumerable<ConnectedComponent>> source)
Parameters
source
IObservable<IEnumerable<ConnectedComponent>>A sequence of ConnectedComponent collection objects from which to take the specified number of binary regions.
Returns
- IObservable<ConnectedComponentCollection>
A sequence of ConnectedComponentCollection objects, where each collection always contains the specified number of binary regions. If the corresponding collection in the original sequence does not have enough regions, the missing elements are set to the empty region.