Changed visibility of the virtual functions in OnePassStabilizer and TwoPassStabilizer that are derived from StabilizerBase from private to protected to enable stabilizer implementations that are derived from OnePassStabilizer and TwoPassStabilier to properly overwrite these functions
This commit is contained in:
@@ -144,7 +144,7 @@ public:
|
|||||||
virtual void reset();
|
virtual void reset();
|
||||||
virtual Mat nextFrame() { return nextStabilizedFrame(); }
|
virtual Mat nextFrame() { return nextStabilizedFrame(); }
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
virtual void setUp(const Mat &firstFrame);
|
virtual void setUp(const Mat &firstFrame);
|
||||||
virtual Mat estimateMotion();
|
virtual Mat estimateMotion();
|
||||||
virtual Mat estimateStabilizationMotion();
|
virtual Mat estimateStabilizationMotion();
|
||||||
@@ -170,7 +170,7 @@ public:
|
|||||||
virtual void reset();
|
virtual void reset();
|
||||||
virtual Mat nextFrame();
|
virtual Mat nextFrame();
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
void runPrePassIfNecessary();
|
void runPrePassIfNecessary();
|
||||||
|
|
||||||
virtual void setUp(const Mat &firstFrame);
|
virtual void setUp(const Mat &firstFrame);
|
||||||
|
Reference in New Issue
Block a user