In proteomics study, Imaging Mass Spectrometry (IMS) is an emerging and very promisingnew technique for protein analysis from intact biological tissues. Though it has showngreat potential and is very promising for rapid mapping of protein localization and thedetection of sizeable differences in protein expression, challenges remain in dataprocessing due to the difficulty of high dimensionality and the fact that the number ofinput variables in prediction model is significantly larger than the number ofobservations. To obtain a complete overview of IMS data and find trace features based onboth spectral and spatial patterns, one faces a global optimization problem. In thispaper, we propose a weighted elastic net (WEN) model based on IMS data processing needs ofusing both the spectral and spatial information for biomarker selection andclassification. Properties including variable selection accuracy of the WEN model arediscussed. Experimental IMS data analysis results show that such a model not only reducesthe number of side features but also helps new biomarkers discovery.