PointCloudLibrary / PointCloudLibrary/pcl
SupervoxelClustering: Improvement of Supervoxels point cloud data format processing
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
Your Environment
- PCL Version:master branch
Context
Expected Behavior
Add or change a static helper function
- \ brief static helper function, return point cloud of labeled normal input voxel
- \ param [in] Supervoxel cluster map in supervoxel_clusters
- \ Back to super-voxel PointXYZLNormals cloud
Current Behavior
In order to facilitate the processing of the above three point cloud data, the association is generated by the following three point clouds with labels.
PointLCloudT::Ptr refined_labeled_voxel_cloud
PointLNCloudT::Ptr refined_sv_l_normal_cloud
PointLCloudT::Ptr refined_full_labeled_cloud
Possible Solution
A ideas how to implement the addition or change
Add the following function declaration at the end of the above
static pcl::PointCloudpcl::PointXYZLNormal::Ptr
makeSupervoxelXYZLNormalCloud(std::map<uint32_t, typename Supervoxel::Ptr> &supervoxel_clusters);
Add the following function definition at the end of the above
template pcl::PointCloudpcl::PointXYZLNormal::Ptr
pcl::SupervoxelClustering::makeSupervoxelXYZLNormalCloud(std::map<uint32_t, typename Supervoxel::Ptr > &supervoxel_clusters)
{
***
}
Add the following types at the end of the above
typedef pcl::PointXYZLNormal PointLNT;
typedef pcl::PointCloud PointLNCloudT;
Add the following to generate a labeled normal point cloud at the end of the above
PointLNCloudT::Ptr refined_sv_l_normal_cloud = pcl::SupervoxelClustering::makeSupervoxelXYZLNormalCloud(refined_supervoxel_clusters);
There may be some other additions or changes, such as the following
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading segmentation/include/pcl/segmentation/supervoxel_clustering.h and its implementation in segmentation/include/pcl/segmentation/impl/supervoxel_clustering.hpp, then inspect the referenced section of examples/segmentation/example_supervoxels.cpp. Done means adding the requested labeled normal-cloud helper and the example type definitions and call, with behavior matching the existing supervoxel cluster data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100