Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PPFRegistration #5767

Merged
merged 6 commits into from
Aug 24, 2023

Conversation

mvieth
Copy link
Member

@mvieth mvieth commented Jul 20, 2023

  • add function getBestPoseCandidates to have access to all pose candidates, not just the one with the most votes
  • use ceil instead of floor, otherwise the accumulator_array can be too small in some cases
  • do not only use the single highest peak from accumulator array, but use more peaks if they have similarly many votes as the maximum
  • while pose clustering, make sure that a pose is added to the closest cluster, not simply to the first cluster below the clustering threshold (if more than one clusters are possible)
  • use a better threshold-based filtering of candidate poses, instead of always using the 3 poses with the most votes
  • re-activate and improve test for PPFRegistration

Fixes #5759

- add function getBestPoseCandidates to have access to all pose candidates, not just the one with the most votes
- use ceil instead of floor, otherwise the accumulator_array can be too small in some cases
- do not only use the single highest peak from accumulator array, but use more peaks if they have similarly many votes as the maximum
- while pose clustering, make sure that a pose is added to the closest cluster, not simply to the first cluster below the clustering threshold (if more than one clusters are possible)
- use a better threshold-based filtering of candidate poses, instead of always using the 3 poses with the most votes
- re-activate and improve test for PPFRegistration
@mvieth mvieth added changelog: enhancement Meta-information for changelog generation module: registration labels Jul 20, 2023
@mvieth mvieth marked this pull request as ready for review July 24, 2023 07:44
@mvieth mvieth requested a review from larshg August 8, 2023 13:24
@larshg
Copy link
Contributor

larshg commented Aug 9, 2023

Except from missing a few const, it looks good 👍

@mvieth mvieth merged commit cb33bf7 into PointCloudLibrary:master Aug 24, 2023
13 checks passed
@mvieth mvieth deleted the ppfregistration_improvements branch August 24, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: enhancement Meta-information for changelog generation module: registration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PPF gets other poses
2 participants