Table of Contents

Method Process

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Process(IObservable<IplImage>)

Computes dense optical flow using Gunnar Farneback’s algorithm across all images in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images across which to compute dense optical flow.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the flow field between the current and the previous image in the source sequence.

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

Computes dense optical flow using Gunnar Farneback’s algorithm across all image pairs in an observable sequence.

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

Parameters

source IObservable<Tuple<IplImage, IplImage>>

The sequence of image pairs across which to compute the dense optical flow. The optical flow is computed from the first to the second image in the pair.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the flow field between the first and the second image of each pair in the source sequence.