-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
CropHull 3d not cropping inside #1657
Labels
Comments
This is correct - the issue exists and the proposed solution works. Could you perhaps make a PR? |
Please do guys 😬 |
How can I get triangle indices for cropped cloud after cropping the cloud using crop_hull? |
watertown
pushed a commit
to piaggiofastforward/pcl
that referenced
this issue
Jul 23, 2018
DaniilSNikulin
pushed a commit
to DaniilSNikulin/pcl
that referenced
this issue
Apr 7, 2020
…udLibrary#1657) * funciton applyFilter didn't clear output data before start adding new point or indices * issue PointCloudLibrary#1657: CropHull 3d not cropping inside. [decision](piaggiofastforward@b8a8a2b)
kunaltyagi
added
kind: todo
Type of issue
module: filters
needs: pr merge
Specify why not closed/merged yet
kind: bug
Type of issue
and removed
needs: code review
Specify why not closed/merged yet
kind: todo
Type of issue
labels
May 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The CropHull algorithm works well when you want to crop points outside the hull, either in 2d or 3d but it doesn't work when you want to crop points inside the hull in 3d (but it works in 2d).
Code copied from crop_hull.hpp:
This is clearly wrong. The condition checking if the point is inside or outside the hull is not being checked when crop_outside is false, which means every point is being pushed back to the output if the option to crop inside is selected.
Your Environment
Expected Behavior
The filter method should filter points as told by the documentation.
Current Behavior
The filter method is not filtering points inside the hull in a 3d (the default) dimensionality.
Possible Solution
Possible solution:
Code to Reproduce
The text was updated successfully, but these errors were encountered: