Go to the documentation of this file.
18 #ifndef sitkMaskImageFilter_h
19 #define sitkMaskImageFilter_h
84 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetMaskingValue (
double MaskingValue ) { this->m_MaskingValue = MaskingValue;
return *
this; }
101 std::string
GetName()
const {
return std::string (
"MaskImageFilter"); }
104 std::string ToString()
const;
119 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image * image,
const Image * maskImage );
126 double m_OutsideValue{0};
128 double m_MaskingValue{0};
131 bool m_InPlace{
false};
The Image class for SimpleITK.
Mask an image with a mask.
NonLabelPixelIDTypeList PixelIDTypeList
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
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
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