Skip to content

Handle edge case when SuperPoint detects only 1 keypoint#1509

Merged
matlabbe merged 3 commits intointrolab:masterfrom
torjusti:master
May 24, 2025
Merged

Handle edge case when SuperPoint detects only 1 keypoint#1509
matlabbe merged 3 commits intointrolab:masterfrom
torjusti:master

Conversation

@torjusti
Copy link
Copy Markdown
Contributor

Fixes #1505. When SuperPoint detects exactly 1 feature for a photo, dimensions are collapsed and the application crashes during the transpose operation at line 247.

@matlabbe
Copy link
Copy Markdown
Member

The loop closure performance was not the same after the change. There was a missing "normalize" step to normalize the descriptors. The resulting descriptors are now exactly the same, while handling the single descriptor case.

@matlabbe matlabbe merged commit 683a1dc into introlab:master May 24, 2025
4 of 5 checks passed
naidjeldias pushed a commit to Synkar/rtabmap that referenced this pull request May 27, 2025
* Handle edge case when SuperPoint detects only 1 keypoint

* missing normalize

---------

Co-authored-by: matlabbe <matlabbe@gmail.com>
naidjeldias pushed a commit to Synkar/rtabmap that referenced this pull request May 28, 2025
* Handle edge case when SuperPoint detects only 1 keypoint

* missing normalize

---------

Co-authored-by: matlabbe <matlabbe@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SuperPoint features: crash when processing node with no depth photo

2 participants