QMRITools`MaskingTools`
QMRITools`MaskingTools`

SegmentMask

SegmentMask[mask,n]

divides a mask in n segments along the slice direction, n must be an integer. The mask is divided in n equal parts where each parts has the same number of slices.