18 #ifndef itkPowImageFilter_h
19 #define itkPowImageFilter_h
33 template<
typename TInput1,
typename TInput2 = TInput1,
typename TOutput = TInput1 >
48 return !( *
this != other );
51 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
56 return static_cast< TOutput
>( std::pow(static_cast<RealType1>(A),static_cast<RealType2>(B)) );
92 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
97 typename TInputImage1::PixelType,
98 typename TInputImage2::PixelType,
99 typename TOutputImage::PixelType > >
107 typename TInputImage1::PixelType,
108 typename TInputImage2::PixelType,
121 #ifdef ITK_USE_CONCEPT_CHECKING
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
TOutput operator()(const TInput1 &A, const TInput2 &B) const
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
Computes the powers of 2 images.
SmartPointer< Self > Pointer
Define additional traits for native types such as int or float.
bool operator==(const Pow &other) const
Implements pixel-wise generic operation of two images, or of an image and a constant.
bool operator!=(const Pow &) const