18 #ifndef sitkSubtractImageFilter_h
19 #define sitkSubtractImageFilter_h
99 std::string
GetName()
const {
return std::string (
"SubtractImageFilter"); }
102 std::string ToString()
const;
111 Image Execute (
const Image& image1,
double constant );
112 Image Execute (
double constant,
const Image& image2 );
119 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
127 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
128 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
132 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
133 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 main 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.