21 #ifndef otbRealImageToComplexImageFilter_h
22 #define otbRealImageToComplexImageFilter_h
24 #include "itkUnaryFunctorImageFilter.h"
25 #include "vnl/vnl_math.h"
42 template <
class TInputImageRealPart,
class TOutput>
60 return !(*
this != other);
62 inline TOutput
operator()(
const TInputImageRealPart& real)
const
69 template <
class TInputImageRealPart,
class TOutputImage>
71 :
public itk::UnaryFunctorImageFilter<TInputImageRealPart, TOutputImage,
72 Function::RealToComplex<typename TInputImageRealPart::PixelType, typename TOutputImage::PixelType>>
77 typedef itk::UnaryFunctorImageFilter<TInputImageRealPart, TOutputImage,
TOutput::value_type OutputValueType
bool operator==(const RealToComplex &other) const
bool operator!=(const RealToComplex &) const
TOutput operator()(const TInputImageRealPart &real) const
Computes pixel-wise the complex image of a real image.
TOutputImage::PixelType OutputPixelType
itk::SmartPointer< const Self > ConstPointer
RealImageToComplexImageFilter()
TInputImageRealPart::PixelType InputRealPartPixelType
~RealImageToComplexImageFilter() override
itk::NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
itk::SmartPointer< Self > Pointer
itk::UnaryFunctorImageFilter< TInputImageRealPart, TOutputImage, Function::RealToComplex< typename TInputImageRealPart::PixelType, typename TOutputImage::PixelType > > Superclass
void operator=(const Self &)=delete
RealImageToComplexImageFilter(const Self &)=delete
RealImageToComplexImageFilter Self
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.