-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[request] PCL Concave hull & Convex hull #6004
Comments
@nidhinsoni I would say it is probably the parameter choice. Have you tested different values for alpha? |
Hey
And from the side: |
@larshg hey thanks a lot for your suggestion. Do you mind sharing the code here? I didn't quite get the third point you mentioned |
I quickly just used the pcl_tools, so I don't have any code 😄 |
A small tutorial for projecting points to a given plane can be found here https://pcl.readthedocs.io/projects/tutorials/en/latest/project_inliers.html |
Thanks this was it! |
Hello, I'm trying to create a boundary line using concave hull using the PCL library. I pre-downsampled, pre-segmented, pre-filtered the pcd file. From 2.3m data points, i came down to around 80 data points. Getting an error saying input cloud has no data. i'm new to Point clouds, so i was wondering whether it's the parameters or the limitation of the algorithm itself. I have uploaded the files here.
#include
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/filters/passthrough.h>
#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/segmentation/extract_clusters.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/features/normal_3d.h>
#include <pcl/features/moment_of_inertia_estimation.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/common/common.h>
#include <pcl/keypoints/agast_2d.h>
#include <pcl/filters/statistical_outlier_removal.h>
#include <pcl/filters/passthrough.h>
#include <pcl/surface/concave_hull.h>
int main()
{
// Load point cloud data
pcl::PointCloudpcl::PointXYZ::Ptr cloud(new pcl::PointCloudpcl::PointXYZ);
pcl::PCDReader reader;
reader.read("holz1.pcd", *cloud);
}
holz.zip
The text was updated successfully, but these errors were encountered: