18 #ifndef itkComplexToRealImageFilter_h
19 #define itkComplexToRealImageFilter_h
34 template<
typename TInput,
typename TOutput >
47 return !( *
this != other );
52 return static_cast<TOutput
>( A.real() );
57 template<
typename TInputImage,
typename TOutputImage >
72 typename TOutputImage::PixelType >;
85 #ifdef ITK_USE_CONCEPT_CHECKING
95 #if !defined( ITK_WRAPPING_PARSER )
bool operator==(const ComplexToReal &other) const
bool operator!=(const ComplexToReal &) const
ComplexToRealImageFilter()
Define numeric traits for std::vector.
typename TOutputImage::PixelType OutputPixelType
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)
~ComplexToRealImageFilter() override=default
Functor::ComplexToReal< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
Computes pixel-wise the real(x) part of a complex image.
typename TInputImage::PixelType InputPixelType
#define itkConceptMacro(name, concept)
TOutput operator()(const TInput &A) const
Implements pixel-wise generic "operation" on one image.