point-cloud-librarypoint-cloudscylindrical

How to fit a cylindrical model to scattered 3D XYZ point data?


I was wondering if it was possible for someone to provide me with some code examples for working with scattered XYZ point data in Point cloud Library? I would like to fit a cylindrical model to segmented scattered point cloud. In short, something like this (https://in.mathworks.com/help/vision/ref/pcfitcylinder.html):

enter image description here


Solution

  • http://pointclouds.org/documentation/tutorials/cylinder_segmentation.php

    Just take out the plane fitting stuff