|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbPolarimetricSynthesisFunctor_h
22 #define otbPolarimetricSynthesisFunctor_h
26 #include "itkFixedArray.h"
44 template <
class TInput1,
class TInput2,
class TInput3,
class TInput4,
class TOutput>
75 inline TOutput
operator()(
const TInput1& Shh,
const TInput2& Shv,
const TInput3& Svh,
const TInput4& Svv)
84 scalar =
static_cast<double>(std::abs(tmp)) *
static_cast<double>(std::abs(tmp));
86 return (
static_cast<TOutput
>(scalar));
TOutput operator()(const TInput1 &Shh, const TInput2 &Shv, const TInput3 &Svh, const TInput4 &Svv)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Calculate the polarimetric synthesis.
void SetEi(ComplexArrayType ei)
void SetEr(ComplexArrayType er)
std::complex< double > ComplexType
virtual ~PolarimetricSynthesisFunctor()
PolarimetricSynthesisFunctor()
itk::FixedArray< ComplexType, 2 > ComplexArrayType