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

Add: tool to filter out local maxima #604

Merged
merged 1 commit into from
Apr 4, 2014

Conversation

chambbj
Copy link
Contributor

@chambbj chambbj commented Apr 2, 2014

No description provided.

@chambbj
Copy link
Contributor Author

chambbj commented Apr 4, 2014

@taketwo Travis failure appears to only be a timeout. Do you have any other thoughts on this PR?

@@ -102,8 +102,8 @@
removed_indices_->resize (indices_->size ());
int oii = 0, rii = 0; // oii = output indices iterator, rii = removed indices iterator

std::vector<bool> point_is_max (false, indices_->size ());
std::vector<bool> point_is_visited (false, indices_->size ());
std::vector<bool> point_is_max (indices_->size (), false);
Copy link
Member

Choose a reason for hiding this comment

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

Haha, missed this last time :)
But how did this work? Or this is not covered by the unit test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The test creates a point cloud with four points, which should have been enough to give me trouble the first time around.

taketwo added a commit that referenced this pull request Apr 4, 2014
Add: tool to filter out local maxima
@taketwo taketwo merged commit 628723e into PointCloudLibrary:master Apr 4, 2014
@chambbj chambbj deleted the add-local-max-tool branch April 4, 2014 16:19
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.

2 participants