public class DenseOpticalFlow extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
DenseOpticalFlow(long addr) |
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.
|
protected void |
finalize() |
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()
Copyright © 2020. All rights reserved.