An effective global learning framework for hyperspectral image classification based on encoder-decoder architecture