18 #ifndef __itkComplexToRealImageFilter_h
19 #define __itkComplexToRealImageFilter_h
22 #include "vnl/vnl_math.h"
34 template<
typename TInput,
typename TOutput >
47 return !( *
this != other );
52 return (TOutput)( A.real() );
57 template<
typename TInputImage,
typename TOutputImage >
61 Functor::ComplexToReal<
62 typename TInputImage::PixelType,
63 typename TOutputImage::PixelType > >
69 TInputImage, TOutputImage,
87 #ifdef ITK_USE_CONCEPT_CHECKING
bool operator==(const ComplexToReal &other) const
bool operator!=(const ComplexToReal &) const
TOutputImage::PixelType OutputPixelType
void operator=(const Self &)
ComplexToRealImageFilter()
virtual ~ComplexToRealImageFilter()
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
ComplexToRealImageFilter Self
TInputImage::PixelType InputPixelType
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ComplexToReal< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
Implements pixel-wise generic operation on one image.
SmartPointer< Self > Pointer
Define additional traits for native types such as int or float.
Computes pixel-wise the real(x) part of a complex image.
#define itkConceptMacro(name, concept)
TOutput operator()(const TInput &A) const
NumericTraits< InputPixelType >::ValueType InputPixelValueType