18 #ifndef sitkPowImageFilter_h
19 #define sitkPowImageFilter_h
81 typedef typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type
PixelIDTypeList;
85 std::string
GetName()
const {
return std::string (
"PowImageFilter"); }
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 Pow(const Image &image1, const Image &image2)
Computes the powers of 2 images.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
#define SITKBasicFilters_EXPORT
Computes the powers of 2 images.
std::string GetName() const
The main Image class for SimpleITK.
typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type PixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
The base interface for SimpleITK filters that take one input image.