QMRITools`
QMRITools`
Mask
Mask[data]
creates a mask by automatically finding a threshold.
Mask[data,min]
creates a mask which selects only data above the min value.
Mask[data,{min,max}]
creates a mask which selects data between the min and max value.
Details and Options
- The following options can be given:
-
MaskSmoothing False MaskSmoothing is an options for Mask, if set to True it smooths the mask, by closing holse and smoothing the contours. MaskComponents 2 MaskComponents is an option for Mask and SmoothMask. Determinse the amount of largest clusters used as mask. MaskClosing 5 MaskClosing is an option for Mask and SmoothMask. The size of the holes in the mask that will be closed. MaskFiltKernel 2 MaskFiltKernel is an option for Mask, SmoothMask and SmoothSegmentation. How mucht the contours are smoothed. MaskDilation 0 MaskDilation is an option for Mask. If the value is greater than 0 it will dilate the mask, if the value is smaller than 0 it will erode the mask.