Go to the documentation of this file.
18 #ifndef sitkSubtractImageFilter_h
19 #define sitkSubtractImageFilter_h
99 std::string
GetName()
const {
return std::string (
"SubtractImageFilter"); }
102 std::string ToString()
const;
110 Image Execute (
const Image& image1,
double constant );
111 Image Execute (
double constant,
const Image& image2 );
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
125 typedef Image (
Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
126 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
130 typedef Image (
Self::*MemberFunction2Type)(
const Image& image1,
double constant );
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
The main Image class for SimpleITK.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
std::string GetName() const
NonLabelPixelIDTypeList PixelIDTypeList
Pixel-wise subtraction of two images.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
Image Subtract(const Image &image1, const Image &image2)
Pixel-wise subtraction of two images.
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.