22 #ifndef otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter_h
23 #define otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter_h
60 template <
class TInput,
class TOutput>
68 inline void operator()(TOutput& result,
const TInput& Covariance)
const
82 static_cast<ComplexType>(C33 - cst1 * C23 - C13 + cst1 * std::conj(C23) - std::conj(C13) + two * C22 - cst1 * C12 + cst1 * std::conj(C12) + C11);
83 result[1] =
static_cast<ComplexType>(cst1 * C33 + two * C23 - cst1 * C13 + cst1 * std::conj(C13) + two * std::conj(C12) - cst1 * C11);
85 static_cast<ComplexType>(-C33 + cst1 * C23 + C13 + cst1 * std::conj(C23) + std::conj(C13) + two * C22 - cst1 * C12 - cst1 * std::conj(C12) - C11);
86 result[3] =
static_cast<ComplexType>(two * C33 + two * C13 + two * std::conj(C13) + two * C11);
87 result[4] =
static_cast<ComplexType>(cst1 * C33 + cst1 * C13 + two * std::conj(C23) - cst1 * std::conj(C13) + two * C12 - cst1 * C11);
89 static_cast<ComplexType>(C33 + cst1 * C23 - C13 - cst1 * std::conj(C23) - std::conj(C13) + two * C22 + cst1 * C12 - cst1 * std::conj(C12) + C11);
114 template <
typename TInputImage,
typename TOutputImage>