Go to the documentation of this file.
18 #ifndef sitkMaskNegatedImageFilter_h
19 #define sitkMaskNegatedImageFilter_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 (
"MaskNegatedImageFilter"); }
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.
std::string GetName() const
Self & SetOutsideValue(double OutsideValue)
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Self & SetMaskingValue(double MaskingValue)
double GetOutsideValue() const
#define SITKBasicFilters_EXPORT
BasicPixelIDTypeList PixelIDTypeList
Image(Self::*)(const Image *image, const Image *maskImage) MemberFunctionType
Mask an image with the negation (or logical compliment) of a mask.
The base interface for SimpleITK filters that take one input image.
double GetMaskingValue() const
Image MaskNegated(Image &&image, const Image &maskImage, double outsideValue=0, double maskingValue=0)
Mask an image with the negation (or logical compliment) of a mask.