22 #ifndef otbReciprocalBarnesDecompImageFilter_h
23 #define otbReciprocalBarnesDecompImageFilter_h
26 #include "vnl/algo/vnl_complex_eigensystem.h"
45 template <
class TInput,
class TOutput>
56 inline void operator()(TOutput& result,
const TInput& Covariance)
const
77 ComplexType norm = (qi.conjugate_transpose() * cov * qi)[0][0];
87 norm = (qi.conjugate_transpose() * cov * qi)[0][0];
88 ki = cov * qi / std::sqrt(norm);
97 norm = (qi.conjugate_transpose() * cov * qi)[0][0];
98 ki = cov * qi / std::sqrt(norm);
127 template <
typename TInputImage,
typename TOutputImage>
A generic functor filter templated by its functor.
vnl_vector< ComplexType > VNLVectorType
std::complex< double > ComplexType
vnl_vector< double > VNLDoubleVectorType
vnl_matrix< ComplexType > VNLMatrixType
std::vector< double > VectorType
static constexpr double m_Epsilon
TOutput::ValueType OutputValueType
constexpr vcl_size_t OutputSize(...) const
void operator()(TOutput &result, const TInput &Covariance) const
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.