This tools calculates a type of shape complexity index for raster objects, focused on the complexity of the boundary of polygons. The index uses the line_thinning tool to estimate a skeletonized network for each input raster polygon. The Boundary Shape Complexity (BSC) index is then calculated as the percentage of the skeletonized network belonging to exterior links. Polygons with more complex boundaries will possess more branching skeletonized networks, with each spur in the boundary possessing a short exterior branch. The two longest exterior links in the network are considered to be part of the main network. Therefore, polygons of complex shaped boundaries will have a higher percentage of their skeleton networks consisting of exterior links. It is expected that simple convex hulls should have relatively low BSC index values.

Objects in the input raster (`input`) are designated by their unique identifiers. Identifier values should be positive, non-zero whole numbers.

## See Also

shape_complexity_index_raster, line_thinning

## Function Signature

`def boundary_shape_complexity(self, raster: Raster) -> Raster: ...`

## Project Links

WbW Homepage User Manual Support WbW