mosaic.operations.skeletonize#
- skeletonize(geometry, method='core', sigma=1.0, **kwargs)[source]#
Extract structural skeleton from point cloud.
- Parameters:
- geometry
mosaic.geometry.Geometry Input data.
- method{‘outer’, ‘core’, ‘boundary’}, optional
Structural feature to extract: - ‘outer’: Outer boundaries - ‘core’: Medial axis/centerline - ‘boundary’: Inner/outer boundaries - ‘outer_hull’: Outer boundaries using a convex hull
- sigmafloat, optional
Gaussian smoothing for Hessian computation.
- **kwargs
Additional arguments passed to the chosen method.
- geometry
- Returns:
mosaic.geometry.GeometryDecimated geometry.
- Raises:
- ValueError
If unsupported method is specified.