18 #ifndef itkAbsImageFilter_h
19 #define itkAbsImageFilter_h
32 template<
typename TInput,
typename TOutput >
45 return !( *
this != other );
50 return static_cast<TOutput
>( vnl_math_abs( A ) );
68 template<
typename TInputImage,
typename TOutputImage >
73 typename TInputImage::PixelType,
74 typename TOutputImage::PixelType > >
95 #ifdef ITK_USE_CONCEPT_CHECKING
bool operator==(const Abs &other) const
TInputImage::PixelType InputPixelType
TOutput operator()(const TInput &A) const
Base class for all process objects that output image data.
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
virtual ~AbsImageFilter()
bool operator!=(const Abs &) const
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Abs< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
Implements pixel-wise generic operation on one image.
Computes the absolute value of each pixel.
Computes the absolute value of a pixel.
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
TOutputImage::PixelType OutputPixelType