PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.64k stars 4.59k forks source link

I would like to understand the role of the parameter 'row' in the function computePointSPFHSignature() #6069

Closed mawenwuda closed 1 week ago

mawenwuda commented 1 week ago

void computePointSPFHSignature (const pcl::PointCloud &cloud, const pcl::PointCloud &normals, pcl::index_t p_idx, int row, const pcl::Indices &indices, Eigen::MatrixXf &hist_f1, Eigen::MatrixXf &hist_f2, Eigen::MatrixXf &hist_f3); The function is from the ‘fpfh.h’ file. Shouldn't the SPFH histogram be one-dimensional? What is the role of the parameter 'row'? Is it typically set to 0 in practical use?

mvieth commented 1 week ago

Please use Stackoverflow or the Discord community chat for such questions. The GitHub issues are intended for bug reports and compile errors. Best advice I can give you is to look at the implementation (probably in fpfh.hpp?) and the places where the function is called.