Spectral image analysis by vector subspace method