public class DenseOpticalFlow extends Algorithm
Base class for dense optical flow algorithms
Calculates an optical flow.
I0- first 8-bit single-channel input image.
I1- second input image of the same size and the same type as prev.
flow- computed flow image that has the same size as prev and type CV_32FC2.
public void collectGarbage()Releases all inner buffers.