MATLAB File Help: cv.estimateGlobalMotionRansac | Index |
Estimates best global motion between two 2D point clouds robustly (using RANSAC method)
M = cv.estimateGlobalMotionRansac(points0, points1)
[M,rmse,ninliers] = cv.estimateGlobalMotionRansac(points0, points1)
[...] = cv.estimateGlobalMotionRansac(..., 'OptionName',optionValue, ...)
single
, stored in numeric
array (Nx2/Nx1x2/1xNx2) or cell-array of 2-element vectors
{[x,y], [x,y], ...}
.single
, of same format
as points0
.single
.RansacParams RANSAC method parameters. A struct with the following fields:
If a string is passed, it uses the default RANSAC parameters for the given motion model. Here are the defaults corresponding to each motion model:
struct('Size',1, 'Thresh',0.5, 'Eps',0.5, 'Prob',0.99)
struct('Size',2, 'Thresh',0.5, 'Eps',0.5, 'Prob',0.99)
struct('Size',1, 'Thresh',0.5, 'Eps',0.5, 'Prob',0.99)
struct('Size',2, 'Thresh',0.5, 'Eps',0.5, 'Prob',0.99)
struct('Size',2, 'Thresh',0.5, 'Eps',0.5, 'Prob',0.99)
struct('Size',3, 'Thresh',0.5, 'Eps',0.5, 'Prob',0.99)
By default is it set to 'Affine'.