Extraction of spectral channels from hyperspectral images for classification purposes