Skip to content

Handle edge case when SuperPoint detects only 1 keypoint - #1509

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

matlabbe merged 3 commits into
introlab: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
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 <[email protected]>
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 <[email protected]>
naidjeldias pushed a commit to Synkar/rtabmap that referenced this pull request Jul 3, 2026
* Handle edge case when SuperPoint detects only 1 keypoint

* missing normalize

---------

Co-authored-by: matlabbe <[email protected]>
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