18 #ifndef sitkMaskImageFilter_h
19 #define sitkMaskImageFilter_h
91 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
double OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
97 std::string
GetName()
const {
return std::string (
"MaskImageFilter"); }
100 std::string ToString()
const;
108 Image Execute (
const Image & image,
const Image & maskImage,
double outsideValue );
113 typedef Image (Self::*MemberFunctionType)(
const Image * image,
const Image * maskImage );
116 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image * image,
const Image * maskImage );
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT
Mask an image with a mask.
Self & SetOutsideValue(double OutsideValue)
NonLabelPixelIDTypeList PixelIDTypeList
nsstd::auto_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
std::string GetName() const
The main Image class for SimpleITK.
Image Mask(const Image &image, const Image &maskImage, double outsideValue=0)
Mask an image with a mask.
double GetOutsideValue() const
The base interface for SimpleITK filters that take one input image.