Spectral angle mapper

Hi,

Quick question to check if there is any capability in OTB for a spectral angle mapper pixel-based classification?

Best wishes,
Jen

Hello,

Unfortunately, there is, as far as I know, no OTB application computing or using spectral angles.

Note that if you are using OTB in C++, there are a few classes related to spectral angles, SpectralAngleFunctor computes spectral angle on a pixel according to a reference pixel, SpectralAngleDistanceImageFilter computes spectral angle according to a reference pixel on an image. There is a C++ example of cloud detection using spectral angle in the Cookbook.