Indices-keypoints

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Indices-keypoints

termin
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi,

How can i export a indices vector from Uniform Sampling in pcl 1.8?

In pcl 1.6,everything is ok:

pcl::PointCloud<int> indices;
pcl::UniformSampling<pcl::PointXYZ> uniform_sampling;
uniform_sampling.setInputCloud (cloud);
uniform_sampling.setRadiusSearch (0.05f); //the 3D grid leaf size
uniform_sampling.compute (indices);

My problem is that in pcl 1.8 there is no member compute() only filter(),which returns a new cloud.What i need is an array or vector with keypoints from original cloud.

Thanks,