Skip to content

Commit

Permalink
Minor note
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Jan 8, 2020
1 parent 3a27094 commit c7c779c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/include/pcl/features/impl/fpfh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pcl::FPFHEstimation<PointInT, PointNT, PointOutT>::computePointSPFHSignature (
{
Eigen::Vector4f pfh_tuple;
// Get the number of bins from the histograms size
// @TODO: use arrays
int nr_bins_f1 = static_cast<int> (hist_f1.cols ());
int nr_bins_f2 = static_cast<int> (hist_f2.cols ());
int nr_bins_f3 = static_cast<int> (hist_f3.cols ());
Expand Down Expand Up @@ -108,6 +109,7 @@ pcl::FPFHEstimation<PointInT, PointNT, PointOutT>::weightPointSPFHSignature (
const std::vector<int> &indices, const std::vector<float> &dists, Eigen::VectorXf &fpfh_histogram)
{
assert (indices.size () == dists.size ());
// @TODO: use arrays
double sum_f1 = 0.0, sum_f2 = 0.0, sum_f3 = 0.0;
float weight = 0.0, val_f1, val_f2, val_f3;

Expand Down

0 comments on commit c7c779c

Please sign in to comment.