Contextual classification of hyperspectral images by support vector machines and Markov random fields