-
-
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
Merge FPFHEstimationOMP into FPFHEstimation #4281
base: master
Are you sure you want to change the base?
Conversation
FPFHEstimationOMP (unsigned int nr_threads = 0) : nr_bins_f1_ (11), nr_bins_f2_ (11), nr_bins_f3_ (11) | ||
{ | ||
feature_name_ = "FPFHEstimationOMP"; | ||
PCL_DEPRECATED_HEADER(1, 13, "Use <pcl/features/fpfh.h> instead.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The number here is for removal. Release in 1.12 and removal in 1.13 doesn't sound great. Make it the 1.14 at least
output[idx].histogram[d] = std::numeric_limits<float>::quiet_NaN (); | ||
|
||
output.is_dense = false; | ||
if (input_->is_dense || isFinite ((*input_)[(*indices_)[idx]])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please benchmark this. Should not have adverse effects, but just to be sure
|
||
output.is_dense = false; | ||
if (input_->is_dense || isFinite ((*input_)[(*indices_)[idx]])) { | ||
if (this->searchForNeighbors( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outdent the block please
Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this. |
Merges both classes and removes code duplication
TODO: