Closed borongyuan closed 10 months ago
This fixes the problem of extracting multiple keypoints at the same location. Previously, where prob is greater than the threshold were extracted as keypoints. https://github.com/introlab/rtabmap/blob/7ab1ee0a0b12dd8d5f607c5cf536505b5d0d7779/corelib/src/camera/CameraDepthAI.cpp#L653 https://github.com/introlab/rtabmap/blob/7ab1ee0a0b12dd8d5f607c5cf536505b5d0d7779/corelib/src/superpoint_torch/SuperPoint.cc#L161 Therefore in NMS, local maximums are found first, and then neighbors are suppressed. Now for loop closure, it works fine when the image resolution is 400P or 800P. For odometry, 800P is not suitable for F2M, but is suitable for F2F. Because the position of keypoints is more jittery.
Alright, thx!
This fixes the problem of extracting multiple keypoints at the same location. Previously, where prob is greater than the threshold were extracted as keypoints. https://github.com/introlab/rtabmap/blob/7ab1ee0a0b12dd8d5f607c5cf536505b5d0d7779/corelib/src/camera/CameraDepthAI.cpp#L653 https://github.com/introlab/rtabmap/blob/7ab1ee0a0b12dd8d5f607c5cf536505b5d0d7779/corelib/src/superpoint_torch/SuperPoint.cc#L161 Therefore in NMS, local maximums are found first, and then neighbors are suppressed. Now for loop closure, it works fine when the image resolution is 400P or 800P. For odometry, 800P is not suitable for F2M, but is suitable for F2F. Because the position of keypoints is more jittery.