fn resampled_dims(dims: [usize; 3], spacing: [f64; 3]) -> [usize; 3]Expand description
nnU-Net compute_new_shape: the (z, y, x) dims of a dims volume with voxel spacing at
1 mm, round(spacing / target · dims) with Python’s rounding (half to even).