OpenCV
3.4.18
Open Source Computer Vision
|
Enumerations | |
enum | MotionModel { MM_TRANSLATION = 0, MM_TRANSLATION_AND_SCALE = 1, MM_ROTATION = 2, MM_RIGID = 3, MM_SIMILARITY = 4, MM_AFFINE = 5, MM_HOMOGRAPHY = 6, MM_UNKNOWN = 7 } |
Describes motion model between two point clouds. More... | |
Functions | |
template<typename T > | |
T & | at (int idx, std::vector< T > &items) |
template<typename T > | |
const T & | at (int idx, const std::vector< T > &items) |
float | calcBlurriness (const Mat &frame) |
void | calcFlowMask (const Mat &flowX, const Mat &flowY, const Mat &errors, float maxError, const Mat &mask0, const Mat &mask1, Mat &flowMask) |
void | completeFrameAccordingToFlow (const Mat &flowMask, const Mat &flowX, const Mat &flowY, const Mat &frame1, const Mat &mask1, float distThresh, Mat &frame0, Mat &mask0) |
Mat | ensureInclusionConstraint (const Mat &M, Size size, float trimRatio) |
Mat | estimateGlobalMotionLeastSquares (InputOutputArray points0, InputOutputArray points1, int model=MM_AFFINE, float *rmse=0) |
Estimates best global motion between two 2D point clouds in the least-squares sense. More... | |
Mat | estimateGlobalMotionRansac (InputArray points0, InputArray points1, int model=MM_AFFINE, const RansacParams ¶ms=RansacParams::default2dMotion(MM_AFFINE), float *rmse=0, int *ninliers=0) |
Estimates best global motion between two 2D point clouds robustly (using RANSAC method). More... | |
float | estimateOptimalTrimRatio (const Mat &M, Size size) |
Mat | getMotion (int from, int to, const std::vector< Mat > &motions) |
Computes motion between two frames assuming that all the intermediate motions are known. More... | |