MaskFromDistanceMap

MaskFromDistanceMap[dist]

converts a mask distance map created with MaskToDistanceMap back to a binary mask.

MaskFromDistanceMap[dist,method]

converts a mask distance map created with MaskToDistanceMap back to a binary mask. The method can be "both", "out" or "in" which calculates the mask distance inside and outside, outside, or inside the mask.

Examples  
Q M R I TOOLS SYMBOL
QMRITools`
QMRITools`

MaskFromDistanceMap

MaskFromDistanceMap[dist]

converts a mask distance map created with MaskToDistanceMap back to a binary mask.

MaskFromDistanceMap[dist,method]

converts a mask distance map created with MaskToDistanceMap back to a binary mask. The method can be "both", "out" or "in" which calculates the mask distance inside and outside, outside, or inside the mask.

Examples