mosaic.operations.skeletonize#

skeletonize(geometry, method='core', sigma=1.0, **kwargs)[source]#

Extract structural skeleton from point cloud.

Parameters:
geometrymosaic.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.

Returns:
mosaic.geometry.Geometry

Decimated geometry.

Raises:
ValueError

If unsupported method is specified.