Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Executes operations to clean-up Masks. More...
#include <mitkMaskCleaningOperation.h>
Static Public Member Functions | |
static Image::Pointer | RangeBasedMasking (Image::Pointer &image, Image::Pointer &mask, bool lowerLimitOn=false, double lowerLimit=0, bool upperLimitOn=false, double upperLimit=1) |
Limits a Mask to a given Range. More... | |
static Image::Pointer | MaskOutlierFiltering (Image::Pointer &image, Image::Pointer &mask) |
Removes outlier from a mask. More... | |
Executes operations to clean-up Masks.
It is assumed that the segmentation is of type "unsigned short"
Definition at line 26 of file mitkMaskCleaningOperation.h.
|
static |
Removes outlier from a mask.
Removes all elements of a mask that are not within the range \( [\mu - 3 \sigma , \mu + 3 \sigma\] \)
Parameter
|
static |
Limits a Mask to a given Range.
Removes all elements of a mask that are not within the given range. If lowerLimitOn is true, all voxels that cover voxels with an intensity below lowerLimit will be set to 0 in the resulting mask. Similar, all voxels that cover voxels with an intensity above upperLimit will be set to 0 if upperLimitOn is true.
Parameter