13 #ifndef mitkMaskImageFilter_h
14 #define mitkMaskImageFilter_h
43 itkFactorylessNewMacro(Self);
91 itkSetMacro(OverrideOutsideValue,
bool);
97 itkGetMacro(OverrideOutsideValue,
bool);
100 itkBooleanMacro(OverrideOutsideValue);
113 template <
typename TPixel1,
unsigned int VImageDimension1,
typename TPixel2,
unsigned int VImageDimension2>
114 void InternalComputeMask(itk::Image<TPixel1, VImageDimension1>* itkInput, itk::Image<TPixel2, VImageDimension2>* itkMask);
#define MITKALGORITHMSEXT_EXPORT
Superclass of all classes having one or more Images as input and generating Images as output.
Image class for storing multi-dimensional medical image data.
Masks an image with a binary mask image.
Image * GetMask()
Get the mask image (non-const version).
TimeStepType m_CurrentOutputTS
mitkClassMacro(MaskImageFilter, ImageToImageFilter)
bool m_OverrideOutsideValue
void GenerateData() override
itk::TimeStamp m_TimeOfHeaderInitialization
Time when header was last initialized.
void GenerateInputRequestedRegion() override
const Image * GetMask() const
Get the mask image (const version).
mitk::ScalarType m_OutsideValue
void InternalComputeMask(itk::Image< TPixel1, VImageDimension1 > *itkInput, itk::Image< TPixel2, VImageDimension2 > *itkMask)
void SetMask(const mitk::Image *mask)
Set the binary mask image.
~MaskImageFilter() override
void GenerateOutputInformation() override
Find image slices visible on a given plane.
std::size_t TimeStepType
Type for time step indices (non-negative integers starting from 0).
double ScalarType
Scalar type used throughout MITK for geometric computations.