pub fn shape_2d_features( mask: &[u8], width: usize, height: usize, ) -> Result<Shape2d, RadiomicsError>
Extract 2D shape from a binary mask (nonzero = object).
nonzero