OTB
9.0.0
Orfeo Toolbox
|
#include <otbBinarySpectralAngleFunctor.h>
This functor computes the spectral angle between two pixels.
If the pixels have different sizes, only the first components of the largest pixel will be considered.
It can be used as a functor in a BinaryFunctorImageFilter to compute the pixel-by-pixel spectral angles.