Table of Contents

Method Process

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Process(IObservable<IplImage>)

Calculates the distance to the closest zero pixel for all non-zero pixels of each image in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images for which to compute the distance transform.

Returns

IObservable<IplImage>

A sequence of IplImage objects where each pixel contains the calculated distance from the original image element to the closest zero pixel.