21 #ifndef otbRealAndImaginaryImageToComplexImageFilter_h
22 #define otbRealAndImaginaryImageToComplexImageFilter_h
24 #include "itkBinaryFunctorImageFilter.h"
25 #include "vnl/vnl_math.h"
42 template <
class TInputImageRealPart,
class TInputImageImaginaryPart,
class TOutput>
60 return !(*
this != other);
62 inline TOutput
operator()(
const TInputImageRealPart& real,
const TInputImageImaginaryPart& imaginary)
const
69 template <
class TInputImageRealPart,
class TInputImageImaginaryPart,
class TOutputImage>
71 :
public itk::BinaryFunctorImageFilter<TInputImageRealPart, TInputImageImaginaryPart, TOutputImage,
72 Function::RealAndImaginaryToComplex<typename TInputImageRealPart::PixelType,
73 typename TInputImageImaginaryPart::PixelType, typename TOutputImage::PixelType>>
78 typedef itk::BinaryFunctorImageFilter<TInputImageRealPart, TInputImageImaginaryPart, TOutputImage,
80 typename TInputImageImaginaryPart::PixelType,
typename TOutputImage::PixelType>>
108 this->SetInput1(imageRealPart);
113 this->SetInput2(imageImaginaryPart);
126 void operator=(
const Self&) =
delete;