public class DenseOpticalFlow extends Algorithm
Modifier and Type | Method and Description |
---|---|
static DenseOpticalFlow |
__fromPtr__(long addr) |
void |
calc(Mat I0,
Mat I1,
Mat flow)
Calculates an optical flow.
|
void |
collectGarbage()
Releases all inner buffers.
|
clear, empty, getDefaultName, getNativeObjAddr, save
public static DenseOpticalFlow __fromPtr__(long addr)
public void calc(Mat I0, Mat I1, Mat 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()
Generated on 2019-12-20 14:24:32 / OpenCV 4.2.0