Go to the documentation of this file.
18 #ifndef sitkMaskImageFilter_h
19 #define sitkMaskImageFilter_h
91 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
100 SITK_RETURN_SELF_TYPE_HEADER
SetMaskingValue (
double MaskingValue ) { this->m_MaskingValue = MaskingValue;
return *
this; }
107 std::string
GetName()
const {
return std::string (
"MaskImageFilter"); }
110 std::string ToString()
const;
118 Image Execute (
const Image & image,
const Image & maskImage,
double outsideValue,
double maskingValue );
126 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image * image,
const Image * maskImage );
The main Image class for SimpleITK.
Mask an image with a mask.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
Self & SetMaskingValue(double MaskingValue)
Image Mask(const Image &image, const Image &maskImage, double outsideValue=0, double maskingValue=0)
Mask an image with a mask.
nsstd::auto_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
Self & SetOutsideValue(double OutsideValue)
NonLabelPixelIDTypeList PixelIDTypeList
double GetOutsideValue() const
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
std::string GetName() const
double GetMaskingValue() const