Hyperspectral images are used to produce effective solutions in many areas due to the number of information they have. However, the number of information they provide may not bring an advantage always, in contrast, it may cause confusion sometimes. In this study, we propose a machine learning-based classification method on the reduced bands using median and mean filters. The proposed method is tested on Indian Pines, Pavia University and Salinas datasets. After applying normalization, median filter and mathematical morphology for each band in an image, a feature matrix with only one band is achieved. Then, the most significant features are selected by using relief feature selection algorithm. The selected features are used for classification with support vector machine and K nearest neighbourhood. For all methods and datasets, a success rate above 99% in terms of accuracy is achieved. The proposed method has two significant contributions. First, when the proposed method is compared with the similar studies in the literature, it is clearly seen that the features selected by relief algorithm significantly increase the success rate of classification algorithms. Second significant contribution of using relief algorithm is obtaining faster methods by reducing the number of hyperspectral bands. How to cite this article: Yaman O, Yetiş H, Karaköse M. Image processing and machine learning-based classification method for hyperspectral images.