From ca42a50de67af26d64980942ede5b85c4706a41f Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Wed, 24 Apr 2013 07:33:22 +0200 Subject: [PATCH] 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 --- modules/videostab/include/opencv2/videostab/stabilizer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/videostab/include/opencv2/videostab/stabilizer.hpp b/modules/videostab/include/opencv2/videostab/stabilizer.hpp index c13718f0b6..b021b47987 100644 --- a/modules/videostab/include/opencv2/videostab/stabilizer.hpp +++ b/modules/videostab/include/opencv2/videostab/stabilizer.hpp @@ -144,7 +144,7 @@ public: virtual void reset(); virtual Mat nextFrame() { return nextStabilizedFrame(); } -private: +protected: virtual void setUp(const Mat &firstFrame); virtual Mat estimateMotion(); virtual Mat estimateStabilizationMotion(); @@ -170,7 +170,7 @@ public: virtual void reset(); virtual Mat nextFrame(); -private: +protected: void runPrePassIfNecessary(); virtual void setUp(const Mat &firstFrame);