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

Fix CropHull::applyFilter3D() #5255

Merged
merged 1 commit into from
May 31, 2022

Conversation

yasamoka
Copy link
Contributor

This fixes CropHull::applyFilter3D() when crop_outside_ is set to false and adds back test_crop_inside for 3D cases.

Previously:

crop_outside_ Crosses Expected behavior Actual behavior
true false remove remove
true true keep keep
false false keep keep
false true remove keep

Meaning that when crop_outside_ was set to false, all the points in the input point cloud would be kept regardless, which is not the expected behavior.

Fix CropHull::applyFilter3D() when crop_outside_ is false and add back
test_crop_inside for 3D
@yasamoka
Copy link
Contributor Author

Just found #1657. This resolves it.

@yasamoka
Copy link
Contributor Author

Sorry, the force push was to revert changes made to this branch by mistake while they were intended for another branch. The branch is now back to how it was before.

@mvieth mvieth added module: filters changelog: fix Meta-information for changelog generation labels May 26, 2022
Copy link
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mvieth mvieth merged commit de9e562 into PointCloudLibrary:master May 31, 2022
@yasamoka yasamoka deleted the crop-hull-crop-inside-fix branch May 31, 2022 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fix Meta-information for changelog generation module: filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants