Go to the documentation of this file.
18 #ifndef sitkPowImageFilter_h
19 #define sitkPowImageFilter_h
77 using PixelIDTypeList = typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type;
82 std::string
GetName()
const {
return std::string (
"PowImageFilter"); }
85 std::string ToString()
const;
95 Image Execute (
const Image& image1,
double constant );
97 Image Execute (
Image&& image1,
double constant );
99 Image Execute (
double constant,
const Image& image2 );
107 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
114 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
125 bool m_InPlace{
false};
The Image class for SimpleITK.
Image Pow(Image &&image1, const Image &image2)
Computes the powers of 2 images.
typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type PixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
#define SITKBasicFilters_EXPORT
Image(Self::*)(const Image &image1, double constant) MemberFunction2Type
Image(Self::*)(double constant, const Image &image2) MemberFunction1Type
The base interface for SimpleITK filters that take one input image.
Computes the powers of 2 images.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1