estworldpose giving different answers on each run.
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have the a setero camera calibration file and am using the first image from the set of images to define a target line for my application. To find this orientation I am using the estworldpose function (I have attached the calibration file, the image points and the world points in use). Each run with the function gives different rotation matrix and translation values, (I can see the error in tranlation clearly). For refrence: translation should be roughly [100,50,-1900].
Are the different values because of one/all of these reasons?:
- An image used in calibration should not be used
- The ransac method method is not working because the world points I gave are planar (I want to use the checkerboard to define the target line)
If there is another reason can you explain it please.
Thank you.
0 Commenti
Risposta accettata
Qu Cao
il 29 Set 2023
estworldpose is a RANSAC-based method. You may want to set the random seed before running the function to get persistent results.
https://www.mathworks.com/help/matlab/ref/rng.html
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!