Open messileonardo opened 10 months ago
With reference to the first question " Why 3d mapping is more accurate than localization? I am aware that configuration parameters are different between 3d mapping and localization (I did that to make localization faster), but this can be the real explanation? " I did another test with the same configuration between 3d mapping and localization and I copmuted the average errors (measured as linear distance and using ransac.max_error = 12) between
Error are very similar to the case with different configuration. So, why 3d mapping is more accurate than localization (about 3 cm error vs 6.5 cm error respectively)? Many thanks
I will try to sum up my questions.
Many thanks to everyone can help me.
The mapping of each image starts the estimate the absolute pose, which is identical to the localization process, and it followed by a retriangulation of the 3D points and by a full bundle adjustment, which refines both poses and camera intrinsic parameters. This explains why mapping poses and more accurate than poses estimated by the localization process.
Many thanks @sarlinpe ! What about ransac.max_error threshold during localization? Can you suggest a logic to set it or a minimum number of inliers to get for a good localization or what else? Thanks again!
It depends on your data. The default value is generally sufficient, and it can be decreased if necessary.
I would like to ask whoever can help me clarification about 3D mapping and localization accuracy of tvec. I did this experiment:
tvec error between mapping (green frustum) and localization (red frustum) photos: 0.060 m
tvec error between mapping (green frustum) and real positions: 0.030 m
tvec error between localization (red frustum) and real positions: 0.067 m
tvec error between mapping (green frustum) and localization (red frustum) photos: 0.169 m
tvec error between mapping (green frustum) and real positions: 0.030 m
tvec error between localization (red frustum) and real positions: 0.174 m
and finally using as ransac.max_error = 50 and I computed the average errors (measured as linear distance) between
Many thanks in advance to everyone can help me!