18 #ifndef itkAbsImageFilter_h
19 #define itkAbsImageFilter_h
32 template<
typename TInput,
typename TOutput >
45 return !( *
this != other );
50 return static_cast<TOutput
>( itk::Math::abs( A ) );
68 template<
typename TInputImage,
typename TOutputImage >
82 typename TOutputImage::PixelType >;
94 #ifdef ITK_USE_CONCEPT_CHECKING
107 #if !defined( ITK_WRAPPING_PARSER )
Functor::Abs< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
bool operator==(const Abs &other) const
TOutput operator()(const TInput &A) const
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.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
bool operator!=(const Abs &) const
typename TInputImage::PixelType InputPixelType
~AbsImageFilter() override=default
typename TOutputImage::PixelType OutputPixelType
Computes the absolute value of each pixel.
Computes the absolute value of a pixel.
#define itkConceptMacro(name, concept)
Implements pixel-wise generic "operation" on one image.