![]() |
OTB
9.1.1
Orfeo Toolbox
|
#include <otbReciprocalHAlphaImageFilter.h>
Evaluate the H-Alpha parameters from the reciprocal coherency matrix image.
To process, we diagonalise the complex coherency matrix (size 3*3). We call
the list that contains the eigen values of the matrix sorted in decrease order.
the corresponding list of eigen vector.
Use otb::ReciprocalHAlphaImageFilter to apply
Output value are:
![$ entropy = -\sum_{i=0}^{2}{p[i].\log{p[i]}} / \log{3} $](form_343.png)
![$ \alpha = \sum_{i=0}^{2}{p[i].\alpha_{i} $](form_344.png)
![$ anisotropy = \frac {SortedEigenValues[1] - SortedEigenValues[2]}{SortedEigenValues[1] + SortedEigenValues[2]} $](form_345.png)
Where:
![$ p[i] = max(SortedEigenValues[i], 0) / \sum_{i=0}^{2, SortedEigenValues[i]>0}{SortedEigenValues[i]} $](form_346.png)
![$ \alpha_{i} = \left| SortedEigenVector[i] \right|* \frac{180}{\pi}$](form_347.png)
With,
![$ if p[i] < 0, p[i]=0 $](form_348.png)
![$ if p[i] > 1, p[i]=1 $](form_349.png)
1.8.17