Skip to content

[sample_consensus] Fix inconsistent sample validation#5270

Merged
mvieth merged 2 commits intoPointCloudLibrary:masterfrom
alexvorndran:sample_consensus-sample-validation
Jun 11, 2022
Merged

[sample_consensus] Fix inconsistent sample validation#5270
mvieth merged 2 commits intoPointCloudLibrary:masterfrom
alexvorndran:sample_consensus-sample-validation

Conversation

@alexvorndran
Copy link
Copy Markdown
Contributor

@alexvorndran alexvorndran commented May 20, 2022

Address inconsistencies in sample validation of

Resolves #5268.

@alexvorndran
Copy link
Copy Markdown
Contributor Author

I also drafted a fix for #2452 including a few test cases based on 13a7946, but that might better fit into a separate PR since this touches more parts of the code.

Comment thread sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp Outdated
Comment thread sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp Outdated
Comment thread sample_consensus/include/pcl/sample_consensus/impl/sac_model_line.hpp Outdated
Comment thread test/sample_consensus/test_sample_consensus_line_models.cpp Outdated
Comment thread test/sample_consensus/test_sample_consensus_line_models.cpp
Comment thread test/sample_consensus/test_sample_consensus_line_models.cpp
Comment thread sample_consensus/include/pcl/sample_consensus/impl/sac_model_circle.hpp Outdated
@alexvorndran alexvorndran force-pushed the sample_consensus-sample-validation branch from 5dc4ec0 to 79bf3f8 Compare May 29, 2022 17:12
@alexvorndran alexvorndran marked this pull request as ready for review May 29, 2022 17:17
@alexvorndran alexvorndran requested a review from mvieth June 2, 2022 19:28
Comment thread sample_consensus/include/pcl/sample_consensus/impl/sac_model_plane.hpp Outdated
Comment thread test/sample_consensus/test_sample_consensus_quadric_models.cpp Outdated
The changes address the following models:
 - SampleConsensusModelLine
 - SampleConsensusModelCone
 - SampleConsensusModelCylinder
 - SampleConsensusModelPlane
 - SampleConsensusModelCircle2D
 - SampleConsensusModelCircle3D

SampleConsensusModelStick is not adressed, since it's currently broken beyond
the scope of this PR (see #2452).
Special emphasis is placed on tests with collinear inputs.
@alexvorndran alexvorndran force-pushed the sample_consensus-sample-validation branch from 79bf3f8 to 8185eb0 Compare June 3, 2022 13:24
Copy link
Copy Markdown
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 for your contribution!
I will wait a few more days before merging, in case someone else wants to have a look.

@mvieth mvieth merged commit d381bb8 into PointCloudLibrary:master Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sample_consensus] Inconsistent sample validation in SampleConsensusModelLine, SampleConsensusModelStick, and SampleConsensusModelCylinder

2 participants