Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No supported output type for SpinImage description #96

Open
CarrotC opened this issue Oct 23, 2021 · 0 comments
Open

No supported output type for SpinImage description #96

CarrotC opened this issue Oct 23, 2021 · 0 comments

Comments

@CarrotC
Copy link

CarrotC commented Oct 23, 2021

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> >);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant