QMRITools`MaskingTools`
QMRITools`MaskingTools`

ROIMask

ROIMask[maskdim, {name->{{{{name->{{{xx,y},slice}..}..}] crates mask from coordinates x and y at slice. maskdim is the dimensions of the output {zout,xout,yout}.