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, savepublic 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 2021-12-25 08:13:27 / OpenCV 4.5.5