estworldpose giving different answers on each run.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Qu Cao
el 29 de Sept. de 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
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!