Classification of hyperspectral data using extended attribute profiles based on supervised feature extraction