1 | initial version |
I think you can do something like this :
videostab::MotionModel mm = videostab::MM_AFFINE;
Ptr<videostab::MotionEstimatorL1> estimator= new videostab::MotionEstimatorL1(mm);
estimator->setMotionModel(mm);
videostab::KeypointBasedMotionEstimator kbme = videostab::KeypointBasedMotionEstimator(estimator);
I think MotionEstimatorBase is a virtual class you cannot use it. You must use MotionEstimatorRansacL2 or MotionEstimatorL1
2 | No.2 Revision |
I think you can do something like this :
videostab::MotionModel mm = videostab::MM_AFFINE;
Ptr<videostab::MotionEstimatorL1> estimator= new videostab::MotionEstimatorL1(mm);
estimator->setMotionModel(mm);
videostab::KeypointBasedMotionEstimator kbme = videostab::KeypointBasedMotionEstimator(estimator);
I think MotionEstimatorBase is a virtual class you cannot use it. You must use MotionEstimatorRansacL2 or MotionEstimatorL1
There is an example videostab