Dear all,
It works now. The problem was in the following line of code:
pc.setKSearch(indices.size());
Since indices.size() (~ 50000 ) was too large, changing it to 10 (a more reasonable value) worked.
Cheers,
Hozefa
Dear all,
I am trying to estimate the curvature values of a point cloud using the principal curvates estimation from PCL in the following way:
1. Get a point cloud.
2. Compute the normals.
3. Estimate the curvatures
But my program hangs in step 3 and the compute() function my program calls to estimate the curvatures does not return. I have attached the cpp file herewith. Looking forward to your suggestions.
Cheers,
Hozefa