18 #ifndef itkSqrtImageFilter_h
19 #define itkSqrtImageFilter_h
33 template<
typename TInput,
typename TOutput >
47 return !( *
this != other );
52 return static_cast<TOutput
>( std::sqrt( static_cast<double>(A) ) );
66 template<
typename TInputImage,
typename TOutputImage >
79 typename TOutputImage::PixelType >;
88 #ifdef ITK_USE_CONCEPT_CHECKING
100 #if !defined( ITK_WRAPPING_PARSER )
Computes the square root of each pixel.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
bool operator==(const Sqrt &other) const
Base class for all process objects that output image data.
~SqrtImageFilter() override=default
void SetFunctor(const std::function< ConstRefFunctionType > &f)
TOutput operator()(const TInput &A) const
Functor::Sqrt< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
bool operator!=(const Sqrt &) const
#define itkConceptMacro(name, concept)
Implements pixel-wise generic "operation" on one image.