Open nishi-takao opened 3 years ago
The original C++ code ( https://pointclouds.org/documentation/tutorials/supervoxel_clustering.html ) says
typedef pcl::PointXYZRGBA PointT;
// (snip)
std::map <std::uint32_t, pcl::Supervoxel<PointT>::Ptr > supervoxel_clusters;
super.extract (supervoxel_clusters);
That is, I think the argument of extract()
is not an instance of pcl.vectors.map_uint32t_PointXYZRGBA
, but something like pcl.vectors.map_uint32t_SupervoxelXYZRGBA
(And these don't seem to be defined).
SuperVoxel class includes two containers, one for PointT and one for Normal, and some its onw methods. ( https://pointclouds.org/documentation/supervoxel__clustering_8h_source.html ). So I think we should define some new python classes for Supervoxel.
I met core dump on Ubunt 18.04/Python 3.6.9 with following code;
python, pclpy and related libraries were installed via anaconda.
Regards