|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkComplexToModulusImageFilter_h
19 #define itkComplexToModulusImageFilter_h
34 template <
typename TInput,
typename TOutput>
49 return (TOutput)(std::sqrt(A.real() * A.real() + A.imag() * A.imag()));
54 template <
typename TInputImage,
typename TOutputImage>
77 #ifdef ITK_USE_CONCEPT_CHECKING
86 #if !defined(ITK_WRAPPING_PARSER)
TOutput operator()(const TInput &A) const
typename TOutputImage::PixelType OutputPixelType
Implements pixel-wise generic "operation" on one image.
ComplexToModulusImageFilter()
Base class for all process objects that output image data.
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
typename TInputImage::PixelType InputPixelType
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ComplexToModulus)
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...
bool operator==(const ComplexToModulus &) const
Computes pixel-wise the Modulus of a complex image.