Input image stream to be analyzed.
Local version of GaussianKernel that produces a Matrix.
Local version of GaussianKernel that produces a Matrix.
The standard library version of GaussianKernel is set up to produce a ScalarField. PolynomialExpansion and PolynomialKernels can't work with a Gaussian in this format, however. This local object is here to simplify porting.
-Ben
Output flow field.
Multi-scale optic flow using the algorithm described in "Two-frame motion estimation based on polynomial expansion" by G. Farneback.
This lacks a segmentation component, so boundaries are quite blurred. The output is obtained from
flow
.