Commit a52979c3 authored by Alexander Mordvintsev's avatar Alexander Mordvintsev

exposed TVL1 optical flow to python

parent 2756ae20
...@@ -177,11 +177,11 @@ public: ...@@ -177,11 +177,11 @@ public:
class CV_EXPORTS DenseOpticalFlow : public Algorithm class CV_EXPORTS_W DenseOpticalFlow : public Algorithm
{ {
public: public:
virtual void calc( InputArray I0, InputArray I1, InputOutputArray flow ) = 0; CV_WRAP virtual void calc( InputArray I0, InputArray I1, InputOutputArray flow ) = 0;
virtual void collectGarbage() = 0; CV_WRAP virtual void collectGarbage() = 0;
}; };
// Implementation of the Zach, Pock and Bischof Dual TV-L1 Optical Flow method // Implementation of the Zach, Pock and Bischof Dual TV-L1 Optical Flow method
...@@ -189,7 +189,7 @@ public: ...@@ -189,7 +189,7 @@ public:
// see reference: // see reference:
// [1] C. Zach, T. Pock and H. Bischof, "A Duality Based Approach for Realtime TV-L1 Optical Flow". // [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". // [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 } // cv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment