Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkMaskCleaningOperation.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkMaskCleaningOperation_h
14 #define mitkMaskCleaningOperation_h
15 
16 #include <mitkImage.h>
18 
19 namespace mitk
20 {
21 
27  public:
42  static Image::Pointer RangeBasedMasking(Image::Pointer & image, Image::Pointer & mask, bool lowerLimitOn=false, double lowerLimit=0, bool upperLimitOn=false, double upperLimit=1);
43 
53 
54  };
55 
56 
57 }
58 #endif
#define MITKBASICIMAGEPROCESSING_EXPORT
Executes operations to clean-up Masks.
static Image::Pointer MaskOutlierFiltering(Image::Pointer &image, Image::Pointer &mask)
Removes outlier from a mask.
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.
Find image slices visible on a given plane.