KumarRobotics / msckf_vio

Robust Stereo Visual Inertial Odometry for Fast Autonomous Flight
Other
1.66k stars 592 forks source link

About 2pt ransac #145

Open cauchyvotary opened 6 months ago

cauchyvotary commented 6 months ago

In the src/image_processor.cpp a twoPointRansac function is defined. In the source file, line 1019-1027 compensate the point in previous image with the rotation. The thing that really makes me confused is in line 1025~1026, I think the pt.x and pt.y should be pt.x = pt_hc[0] / pt_hc[2]; pt.y = pt_hc[1] / pt_hc[2];, it seems that this normalization cannot be absorbed in the following rescalePoints operation.