The invention belongs to the technical field of spectrum
remote sensing, and provides a lossless spectrum
image compression method based on support vector regression. The method comprises the following steps that firstly, an original image is guided in; secondly, a clustering
algorithm is selected, classification preprocessing is carried out on the spectrum image, and a corresponding cluster index is acquired; thirdly, a prediction
algorithm is selected, a prediction model is designed, and all pixels of the whole spectrum image are predicted according to the obtained cluster index and the prediction model so as to obtain a predicted image; fourthly, a
differential method is adopted on the original image and the prediction image to obtain a residual image; fifthly,
arithmetic coding is adopted on the residual image, the prediction coefficients obtained during prediction of the prediction model and the cluster index obtained through the clustering
algorithm are coded to obtain a code
stream file. According to the method, due to the fact that the read image is clustered, prediction models are established for all types, and the residual image and the
side information are coded, the lossless spectrum compression based on support vector regression is achieved, a good
lossless compression effect is achieved, the prediction accuracy is high, and the residual error is small.