Go to the documentation of this file.
18 #ifndef sitkMaskImageFilter_h
19 #define sitkMaskImageFilter_h
85 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetMaskingValue (
double MaskingValue ) { this->m_MaskingValue = MaskingValue;
return *
this; }
102 std::string
GetName()
const {
return std::string (
"MaskImageFilter"); }
105 std::string ToString()
const;
120 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image * image,
const Image * maskImage );
127 double m_OutsideValue{0};
129 double m_MaskingValue{0};
132 bool m_InPlace{
false};
The Image class for SimpleITK.
Mask an image with a mask.
NonLabelPixelIDTypeList PixelIDTypeList
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
Self & SetMaskingValue(double MaskingValue)
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
Self & SetOutsideValue(double OutsideValue)
double GetOutsideValue() const
Image(Self::*)(const Image *image, const Image *maskImage) MemberFunctionType
#define SITKBasicFilters_EXPORT
Image Mask(Image &&image, const Image &maskImage, double outsideValue=0, double maskingValue=0)
Mask an image with a mask.
The base interface for SimpleITK filters that take one input image.
std::string GetName() const
double GetMaskingValue() const