Segmentation-aided classification of hyperspectral data using spatial dependency of spectral bands