提交 a52979c3 编写于 作者: A Alexander Mordvintsev

exposed TVL1 optical flow to python

上级 2756ae20
......@@ -177,11 +177,11 @@ public:
class CV_EXPORTS DenseOpticalFlow : public Algorithm
class CV_EXPORTS_W DenseOpticalFlow : public Algorithm
{
public:
virtual void calc( InputArray I0, InputArray I1, InputOutputArray flow ) = 0;
virtual void collectGarbage() = 0;
CV_WRAP virtual void calc( InputArray I0, InputArray I1, InputOutputArray flow ) = 0;
CV_WRAP virtual void collectGarbage() = 0;
};
// Implementation of the Zach, Pock and Bischof Dual TV-L1 Optical Flow method
......@@ -189,7 +189,7 @@ public:
// see reference:
// [1] C. Zach, T. Pock and H. Bischof, "A Duality Based Approach for Realtime TV-L1 Optical Flow".
// [2] Javier Sanchez, Enric Meinhardt-Llopis and Gabriele Facciolo. "TV-L1 Optical Flow Estimation".
CV_EXPORTS Ptr<DenseOpticalFlow> createOptFlow_DualTVL1();
CV_EXPORTS_W Ptr<DenseOpticalFlow> createOptFlow_DualTVL1();
} // cv
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册