18 #ifndef itkSquareImageFilter_h
19 #define itkSquareImageFilter_h
38 template<
typename TInput,
typename TOutput >
52 return !( *
this != other );
59 return static_cast< TOutput
>( ra * ra );
63 template<
typename TInputImage,
typename TOutputImage >
67 Functor::Square< typename TInputImage::PixelType,
68 typename TOutputImage::PixelType > >
74 TInputImage, TOutputImage,
88 #ifdef ITK_USE_CONCEPT_CHECKING
SmartPointer< const Self > ConstPointer
bool operator==(const Square &other) const
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
Computes the square of the intensity values pixel-wise.
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Square< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
Implements pixel-wise generic operation on one image.
TOutput operator()(const TInput &A) const
bool operator!=(const Square &) const
virtual ~SquareImageFilter() override
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
NumericTraits< TInput >::RealType RealType