18 #ifndef itkPowImageFilter_h
19 #define itkPowImageFilter_h
33 template<
typename TInput1,
typename TInput2 = TInput1,
typename TOutput = TInput1 >
47 return !( *
this != other );
50 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
55 return static_cast< TOutput
>( std::pow(static_cast<RealType1>(A),static_cast<RealType2>(B)) );
92 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
108 typename TInputImage2::PixelType,
109 typename TOutputImage::PixelType >;
118 #ifdef ITK_USE_CONCEPT_CHECKING
126 #if !defined( ITK_WRAPPING_PARSER )
TOutput operator()(const TInput1 &A, const TInput2 &B) const
Define numeric traits for std::vector.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
~PowImageFilter() override=default
Implements pixel-wise generic operation of two images, or of an image and a constant.
Computes the powers of 2 images.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Functor::Pow< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
bool operator==(const Pow &other) const
bool operator!=(const Pow &) const