Removed unnecessary code (videostab)
This commit is contained in:
@@ -167,9 +167,6 @@ public:
|
|||||||
virtual void reset();
|
virtual void reset();
|
||||||
virtual Mat nextFrame();
|
virtual Mat nextFrame();
|
||||||
|
|
||||||
// available after pre-pass, before it's empty
|
|
||||||
std::vector<Mat> motions() const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void runPrePassIfNecessary();
|
void runPrePassIfNecessary();
|
||||||
|
|
||||||
|
@@ -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()
|
void TwoPassStabilizer::runPrePassIfNecessary()
|
||||||
{
|
{
|
||||||
if (!isPrePassDone_)
|
if (!isPrePassDone_)
|
||||||
|
Reference in New Issue
Block a user