The spectral angle mapper (SAM) has been widely used in multispectral and hyperspectral image analysis to measure spectral similarity between substance signatures for material identification. It has been shown that the SAM is essentially the Euclidean dis