fn sti_bounding_box(
mask: &[u8],
dims: (usize, usize, usize),
) -> Option<([usize; 3], [usize; 3])>Expand description
STI’s MaskBoundingBox: tight bounding box (0-based, inclusive); an odd extent grows by one
voxel at the high end, or at the low end when the high end is the array edge (and shrinks
by one at the high end when both ends are edges).