{"title":"Lossless Image Compression Algorithm Based on Long Short-term Memory Neural Network","authors":"Caixin Zhu, Huaiyao Zhang, Yun Tang","doi":"10.1109/ICCIA49625.2020.00023","DOIUrl":null,"url":null,"abstract":"People have relatively higher requirements for image storage in some specific fields, such as high-resolution cultural relic data image, medical image, infrared remote sensing image, high-precision astronomical observation image. There cannot be any pixel loss in the storage process, so the image can only be compressed by lossless compression. In this paper, a lossless image compression algorithm based on the neural network of long short-term memory (LSTM) is proposed: a LSTM model predictor based on attention mechanism is built by utilizing the memory characteristic of cyclic neural network. The previous pixel value of the image was taken as the input of the model, then the predicted pixel was obtained through the cyclic neural network, and finally the calculated difference between these values was encoded by the mixed run-length encoding and Golomb-Rice encoding. Compared with the traditional predictive lossless image compression algorithm, this algorithm proposed here comprehensively considers the correlation between more pixels and encoded pixels. The experimental results show that compared with the lossless image compression algorithms JPEG-LS and CALIC, the proposed algorithm improves the compression rate by 25% and 12% respectively.","PeriodicalId":237536,"journal":{"name":"2020 5th International Conference on Computational Intelligence and Applications (ICCIA)","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 5th International Conference on Computational Intelligence and Applications (ICCIA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCIA49625.2020.00023","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
People have relatively higher requirements for image storage in some specific fields, such as high-resolution cultural relic data image, medical image, infrared remote sensing image, high-precision astronomical observation image. There cannot be any pixel loss in the storage process, so the image can only be compressed by lossless compression. In this paper, a lossless image compression algorithm based on the neural network of long short-term memory (LSTM) is proposed: a LSTM model predictor based on attention mechanism is built by utilizing the memory characteristic of cyclic neural network. The previous pixel value of the image was taken as the input of the model, then the predicted pixel was obtained through the cyclic neural network, and finally the calculated difference between these values was encoded by the mixed run-length encoding and Golomb-Rice encoding. Compared with the traditional predictive lossless image compression algorithm, this algorithm proposed here comprehensively considers the correlation between more pixels and encoded pixels. The experimental results show that compared with the lossless image compression algorithms JPEG-LS and CALIC, the proposed algorithm improves the compression rate by 25% and 12% respectively.