Go to the documentation of this file.
18 #ifndef sitkMaskNegatedImageFilter_h
19 #define sitkMaskNegatedImageFilter_h
90 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetMaskingValue (
double MaskingValue ) { this->m_MaskingValue = MaskingValue;
return *
this; }
106 std::string
GetName()
const {
return std::string (
"MaskNegatedImageFilter"); }
109 std::string ToString()
const;
117 Image Execute (
const Image & image,
const Image & maskImage,
double outsideValue,
double maskingValue );
124 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * maskImage );
The main Image class for SimpleITK.
std::string GetName() const
nsstd::auto_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
MaskNegatedImageFilter Self
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.
#define SITKBasicFilters_EXPORT
Mask an image with the negation (or logical compliment) of a mask.
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
double GetMaskingValue() const
BasicPixelIDTypeList PixelIDTypeList