Class OpticalFlow
Represents an operator that computes dense optical flow using Gunnar Farneback’s algorithm across all images in the sequence.
public class OpticalFlow : Transform<Tuple<IplImage, IplImage>, IplImage>
- Inheritance
-
OpticalFlow
- Inherited Members
Properties
- Flags
Gets or sets a value specifying the operation flags for the optical flow algorithm.
- Iterations
Gets or sets the number of iterations of the algorithm at each pyramid level.
- Levels
Gets or sets the number of pyramid layers, including the initial image.
- PolyN
Gets or sets the size of the pixel neighborhood used to find polynomial expansion in each pixel.
- PolySigma
Gets or sets the standard deviation of the Gaussian used to smooth the derivatives used as a basis for the polynomial expansion.
- PyramidScale
Gets or sets a value specifying the image scale (less than 1) used to build the pyramids for each image.
- WindowSize
Gets or sets the averaging window size. Larger values increase robustness to noise and fast motion, but yield a blurred motion field.
Methods
- Process(IObservable<IplImage>)
Computes dense optical flow using Gunnar Farneback’s algorithm across all images in an observable sequence.
- Process(IObservable<Tuple<IplImage, IplImage>>)
Computes dense optical flow using Gunnar Farneback’s algorithm across all image pairs in an observable sequence.