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; }
100 std::string
GetName()
const {
return std::string (
"MaskNegatedImageFilter"); }
103 std::string ToString()
const;
111 Image Execute (
const Image & image,
const Image & maskImage,
double outsideValue,
double maskingValue );
117 typedef Image (Self::*MemberFunctionType)(
const Image * image,
const Image * maskImage );
118 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * maskImage );
Mask an image with the negation (or logical compliment) of a mask.
#define SITKBasicFilters_EXPORT
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
BasicPixelIDTypeList PixelIDTypeList
Self & SetMaskingValue(double MaskingValue)
Self & SetOutsideValue(double OutsideValue)
Image MaskNegated(const Image &image, const Image &maskImage, double outsideValue=0, double maskingValue=0)
Mask an image with the negation (or logical compliment) of a mask.
The Image class for SimpleITK.
MaskNegatedImageFilter Self
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
double GetOutsideValue() const
The base interface for SimpleITK filters that take one input image.
double GetMaskingValue() const