Go to the documentation of this file.
18 #ifndef sitkMaskNegatedImageFilter_h
19 #define sitkMaskNegatedImageFilter_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 (
"MaskNegatedImageFilter"); }
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.
std::string GetName() const
Self & SetOutsideValue(double OutsideValue)
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
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.