18 #ifndef itkComplexToModulusImageFilter_h
19 #define itkComplexToModulusImageFilter_h
34 template<
typename TInput,
typename TOutput >
47 return !( *
this != other );
52 return (TOutput)( std::sqrt( A.real() * A.real()
53 + A.imag() * A.imag() ) );
58 template<
typename TInputImage,
typename TOutputImage >
72 typename TOutputImage::PixelType >;
85 #ifdef ITK_USE_CONCEPT_CHECKING
95 #if !defined( ITK_WRAPPING_PARSER )
~ComplexToModulusImageFilter() override=default
ComplexToModulus()=default
typename TInputImage::PixelType InputPixelType
Define numeric traits for std::vector.
bool operator!=(const ComplexToModulus &) const
ComplexToModulusImageFilter()
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
~ComplexToModulus()=default
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
Computes pixel-wise the Modulus of a complex image.
#define itkConceptMacro(name, concept)
TOutput operator()(const TInput &A) const
typename TOutputImage::PixelType OutputPixelType
bool operator==(const ComplexToModulus &other) const
Functor::ComplexToModulus< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
Implements pixel-wise generic "operation" on one image.