Replacing vision.Geo​metericTra​nsformEsti​mator call

1 回表示 (過去 30 日間)
Zhiren
Zhiren 2023 年 4 月 22 日
回答済み: Qu Cao 2023 年 4 月 24 日
I am trying to use an open-source code that was developed in 2013. (https://github.com/prclibo/calibration-toolbox/blob/master/scripts/CameraCalibrationBase.m)
Unfortunately, it uses vision.GeometricTransformEstimator, which I understand is no longer included in MATLAB. (https://www.mathworks.com/matlabcentral/answers/521519-what-function-replaced-vision-geometrictransformestimator)
For the specific case here, what is a good way to replace the following lines of code? (Line 151 of the code shared on Github)
estimator = vision.GeometricTransformEstimator;
estimator.Transform = 'projective';
estimator.AlgebraicDistanceThreshold = obj.maxInlierError;
[~, inliersMaskH] = estimator.step(patternPoints, photoPoints);
It seems that the purpose of the GeometricTransformEstimator is to obtain inliersMaskH according to some projective transform. What is the recommended way to do this nowadays?
Thank you for the feedback!!

回答 (1 件)

Qu Cao
Qu Cao 2023 年 4 月 24 日
https://www.mathworks.com/matlabcentral/answers/521519-what-function-replaced-vision-geometrictransformestimator

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by