Search code examples
pythonedge-detectionpoint-clouds

3D point cloud edge or wrap detection


after a segmentation step, I would like to detect the edge of every point cloud object in my scene. So does anyone know some alternative to do this in python?


Solution

  • Solution: I use lasboundary to get the cancave hull so I got the edge of my sets. We only shoul specify alpha to get convex or concave hull. Here is a sample of code with python:

    import os
    os.system('lasboundary -i mysets.txt -o myedge.txt -concavity 0.05')
    

    Result is written in myedge.txt.