|
ITK
5.2.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 !(*
this != other);
55 return (TOutput)(std::sqrt(A.real() * A.real() + A.imag() * A.imag()));
60 template <
typename TInputImage,
typename TOutputImage>
83 #ifdef ITK_USE_CONCEPT_CHECKING
92 #if !defined(ITK_WRAPPING_PARSER)
TOutput operator()(const TInput &A) const
void SetFunctor(const std::function< ConstRefFunctionType > &f)
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
ComplexToModulus()=default
Functor::ComplexToModulus< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
typename TInputImage::PixelType InputPixelType
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...
~ComplexToModulusImageFilter() override=default
~ComplexToModulus()=default
Computes pixel-wise the Modulus of a complex image.
bool operator==(const ComplexToModulus &other) const
bool operator!=(const ComplexToModulus &) const