Go to the documentation of this file.
18 #ifndef sitkSubtractImageFilter_h
19 #define sitkSubtractImageFilter_h
89 std::string
GetName()
const {
return std::string (
"SubtractImageFilter"); }
92 std::string ToString()
const;
102 Image Execute (
const Image& image1,
double constant );
104 Image Execute (
Image&& image1,
double constant );
106 Image Execute (
double constant,
const Image& image2 );
114 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
121 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
126 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
132 bool m_InPlace{
false};
The Image class for SimpleITK.
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
Image(Self::*)(double constant, const Image &image2) MemberFunction1Type
Image Subtract(Image &&image1, const Image &image2)
Pixel-wise subtraction of two images.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
std::string GetName() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image(Self::*)(const Image &image1, double constant) MemberFunction2Type
Pixel-wise subtraction of two images.
#define SITKBasicFilters_EXPORT
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
The base interface for SimpleITK filters that take one input image.
NonLabelPixelIDTypeList PixelIDTypeList