18 #ifndef sitkSubtractImageFilter_h
19 #define sitkSubtractImageFilter_h
85 std::string
GetName()
const {
return std::string (
"SubtractImageFilter"); }
88 std::string ToString()
const;
96 Image Execute (
const Image& image1,
double constant );
97 Image Execute (
double constant,
const Image& image2 );
104 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
105 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
111 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
112 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
116 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
117 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
Pixel-wise subtraction of two images.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
#define SITKBasicFilters_EXPORT
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
The Image class for SimpleITK.
Image Subtract(const Image &image1, const Image &image2)
Pixel-wise subtraction of two images.
NonLabelPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.