Removed unnecessary code (videostab)
authorAlexey Spizhevoy <no@email>
Tue, 17 Apr 2012 09:30:16 +0000 (09:30 +0000)
committerAlexey Spizhevoy <no@email>
Tue, 17 Apr 2012 09:30:16 +0000 (09:30 +0000)
modules/videostab/include/opencv2/videostab/stabilizer.hpp
modules/videostab/src/stabilizer.cpp

index 3df22b4..a14fbb6 100644 (file)
@@ -167,9 +167,6 @@ public:
     virtual void reset();
     virtual Mat nextFrame();
 
-    // available after pre-pass, before it's empty
-    std::vector<Mat> motions() const;
-
 private:
     void runPrePassIfNecessary();
 
index 8520b31..141ddae 100644 (file)
@@ -317,16 +317,6 @@ Mat TwoPassStabilizer::nextFrame()
 }
 
 
-vector<Mat> TwoPassStabilizer::motions() const
-{
-    if (frameCount_ == 0)
-        return vector<Mat>();
-    vector<Mat> res(frameCount_ - 1);
-    copy(motions_.begin(), motions_.begin() + frameCount_ - 1, res.begin());
-    return res;
-}
-
-
 void TwoPassStabilizer::runPrePassIfNecessary()
 {
     if (!isPrePassDone_)