exposed TVL1 optical flow to python

This commit is contained in:
Alexander Mordvintsev 2014-05-14 17:44:40 +04:00
parent 2756ae2051
commit a52979c37f

View File

@ -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:
// 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