QMRITools`
QMRITools`

DilateMask

DilateMask[mask,size]

if size > 0 the mask is dilated and if size < 0 the mask is eroded.

Examples