|
ITK
6.0.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 const auto ra = static_cast<RealType>(A);
57 return static_cast<TOutput>(ra * ra);
61 template <
typename TInputImage,
typename TOutputImage>
80 #ifdef ITK_USE_CONCEPT_CHECKING
91 #if !defined(ITK_WRAPPING_PARSER)
Computes the square of the intensity values pixel-wise.
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Square)
bool operator==(const Square &) const
TOutput operator()(const TInput &A) const
Implements pixel-wise generic "operation" on one image.
Base class for all process objects that output image data.
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
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