Skip to content

[Ranker] Add sort_by_ranker argument to RaCo#6

Merged
abhiram100 merged 2 commits into
mainfrom
abhiram/ranker_reorder
Mar 9, 2026
Merged

[Ranker] Add sort_by_ranker argument to RaCo#6
abhiram100 merged 2 commits into
mainfrom
abhiram/ranker_reorder

Conversation

@abhiram100

@abhiram100 abhiram100 commented Feb 24, 2026

Copy link
Copy Markdown
Collaborator

#5 points out that the ranker is unused. Add an explicit argument to allow the user to sort the keypoints, keypoint scores, ranker scores and covariances on the basis of the ranker's output.

Increase the default max_num_keypoints to 2048, update the demo and refactor the sampling.

@abhiram100 abhiram100 requested a review from sarlinpe February 24, 2026 03:07
- Updated `max_num_keypoints` from 512 to 2048 in configuration.
- Removed unused parameters `H` and `W` from `_compute_subpixel_offsets`.
- Simplified keypoint sampling by directly calculating top-k indices and their corresponding pixel coordinates.
- Adjusted subpixel refinement to work with new keypoint selection method.
- Cleaned up code by removing commented-out sections and unnecessary variables.
@abhiram100 abhiram100 merged commit 35790eb into main Mar 9, 2026
1 check passed
@abhiram100 abhiram100 mentioned this pull request Mar 9, 2026
@abhiram100 abhiram100 deleted the abhiram/ranker_reorder branch May 22, 2026 07:26
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.

1 participant