18 #ifndef sitkSquaredDifferenceImageFilter_h
19 #define sitkSquaredDifferenceImageFilter_h
85 std::string
GetName()
const {
return std::string (
"SquaredDifferenceImageFilter"); }
88 std::string ToString()
const;
97 Image Execute (
const Image& image1,
double constant );
98 Image Execute (
double constant,
const Image& image2 );
105 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
106 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
113 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
114 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
118 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
Image SquaredDifference(const Image &image1, const Image &image2)
Implements pixel-wise the computation of squared difference.
Implements pixel-wise the computation of squared difference.
#define SITKBasicFilters_EXPORT
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
std::string GetName() const
SquaredDifferenceImageFilter Self
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
The main Image class for SimpleITK.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
BasicPixelIDTypeList PixelIDTypeList