Anomaly detection in hyperspectral images based spatial spectral classification