|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSquareImageFilter_h
19 #define itkSquareImageFilter_h
39 template <
typename TInput,
typename TOutput>
55 return !(*
this != other);
61 const auto ra = static_cast<RealType>(A);
63 return static_cast<TOutput>(ra * ra);
67 template <
typename TInputImage,
typename TOutputImage>
86 #ifdef ITK_USE_CONCEPT_CHECKING
97 #if !defined(ITK_WRAPPING_PARSER)
Computes the square of the intensity values pixel-wise.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
TOutput operator()(const TInput &A) const
bool operator!=(const Square &) const
Implements pixel-wise generic "operation" on one image.
Base class for all process objects that output image data.
bool operator==(const Square &other) const
~SquareImageFilter() override=default
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
Functor::Square< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename NumericTraits< TInput >::RealType RealType