Table of Contents

Class SparseOpticalFlow

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that calculates the optical flow for each sparse feature set in the sequence, using the iterative Lucas-Kanade method.

public class SparseOpticalFlow : Transform<Tuple<KeyPointCollection, IplImage>, KeyPointOpticalFlow>
Inheritance
SparseOpticalFlow
Inherited Members

Properties

Epsilon

Gets or sets the minimum required accuracy for convergence.

Level

Gets or sets the maximum pyramid level to use. If it is zero, pyramids are not used.

MaxError

Gets or sets the optional maximum allowed tracking error for each feature.

MaxIterations

Gets or sets the maximum number of iterations.

WindowSize

Gets or sets the size of the search window at each pyramid level.

Methods

Process(IObservable<KeyPointCollection>)

Calculates the optical flow for each sparse feature set in an observable sequence, using the iterative Lucas-Kanade method.

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

Calculates the optical flow for each sparse feature set in an observable sequence, using the iterative Lucas-Kanade method, where each feature in the set is searched in the new image.