fn dilate_mask( mask: &[u8], nx: usize, ny: usize, nz: usize, radius: i32, ) -> Vec<u8> ⓘ
Dilate a binary mask using spherical structuring element