18 #ifndef sitkXorImageFilter_h
19 #define sitkXorImageFilter_h
69 std::string
GetName()
const {
return std::string (
"XorImageFilter"); }
72 std::string ToString()
const;
80 Image Execute (
const Image& image1,
int constant );
81 Image Execute (
int constant,
const Image& image2 );
88 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
89 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
94 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
95 typedef Image (Self::*MemberFunction1Type)(
int constant,
const Image& image2 );
96 template <
class TImageType>
Image ExecuteInternal (
int constant,
const Image& image2 );
100 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
int constant );
101 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
int constant );
Image Xor(const Image &image1, const Image &image2)
Computes the XOR bitwise operator pixel-wise between two images.
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
Computes the XOR bitwise operator pixel-wise between two images.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
IntegerPixelIDTypeList PixelIDTypeList
The Image class for SimpleITK.
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
The base interface for SimpleITK filters that take one input image.