Go to the documentation of this file.
18 #ifndef sitkMaskNegatedImageFilter_h
19 #define sitkMaskNegatedImageFilter_h
83 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetMaskingValue (
double MaskingValue ) { this->m_MaskingValue = MaskingValue;
return *
this; }
100 std::string
GetName()
const {
return std::string (
"MaskNegatedImageFilter"); }
103 std::string ToString()
const;
117 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * maskImage );
125 double m_OutsideValue{0};
127 double m_MaskingValue{0};
130 bool m_InPlace{
false};
The Image class for SimpleITK.
std::string GetName() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetOutsideValue(double OutsideValue)
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.