You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the c++ code using pcl to get Spin Image from point cloud is:
pcl::SpinImageEstimation<pcl::PointXYZ, pcl::Normal, pcl::Histogram<153> > spin_image_descriptor(8, 0.5, 10);
spin_image_descriptor.setInputCloud(cloud);
# omit similar code of setting arguments like last line
pcl::PointCloud<pcl::Histogram<153> >::Ptr spin_images(new pcl::PointCloud<pcl::Histogram<153> >);
spin_image_descriptor.compute(*spin_images);
According to this, I can define the SpinImageEstimation descriptor as from pypcl import pcl si = pcl.features.SpinImageEstimation.PointXYZ_Normal_Histogram_153(8,0.5,10)
and set the arguments.
But there is no variable can support the output type since there is nothing like Histogram<153> in pcl.PointCloud.
How can I write the python code to declare the output variable just like this line of c++ code pcl::PointCloud<pcl::Histogram<153> >::Ptr spin_images(new pcl::PointCloud<pcl::Histogram<153> >);
The text was updated successfully, but these errors were encountered:
the c++ code using pcl to get Spin Image from point cloud is:
According to this, I can define the SpinImageEstimation descriptor as
from pypcl import pcl si = pcl.features.SpinImageEstimation.PointXYZ_Normal_Histogram_153(8,0.5,10)
and set the arguments.
But there is no variable can support the output type since there is nothing like Histogram<153> in pcl.PointCloud.
How can I write the python code to declare the output variable just like this line of c++ code
pcl::PointCloud<pcl::Histogram<153> >::Ptr spin_images(new pcl::PointCloud<pcl::Histogram<153> >);
The text was updated successfully, but these errors were encountered: