18 #ifndef sitkPowImageFilter_h
19 #define sitkPowImageFilter_h
75 typedef typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type
PixelIDTypeList;
79 std::string
GetName()
const {
return std::string (
"PowImageFilter"); }
82 std::string ToString()
const;
90 Image Execute (
const Image& image1,
double constant );
91 Image Execute (
double constant,
const Image& image2 );
98 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
99 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
105 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
106 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
110 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
111 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 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.