P. Paikrao, D. Doye, Milind V. Bhalerao, M. Vaidya
{"title":"Near-lossless compression scheme using hamming codes for non-textual important regions in document images","authors":"P. Paikrao, D. Doye, Milind V. Bhalerao, M. Vaidya","doi":"10.17993/3ctic.2022.112.225-237","DOIUrl":null,"url":null,"abstract":"Working at Bell Labs in 1950, irritated with error-prone punched card readers, R W Hamming began working on error-correcting codes, which became the most used error-detecting and correcting approach in the field of channel coding in the future. Using this parity-based coding, two-bit error detection and one-bit error correction was achievable. Channel coding was expanded further to correct burst errors in data. Depending upon the use of the number of data bits ‘d’ and parity bits ‘k’ the code is specified as (n, k) code, here ‘n’ is the total length of the code (d+k). It means that 'k' parity bits are required to protect 'd' data bits, which also means that parity bits are redundant if the code word contains no errors. Due to the framed relationship between data bits and parity bits of the valid codewords, the parity bits can be easily computed, and hence the information represented by 'n' bits can be represented by 'd' bits. By removing these unnecessary bits, it is possible to produce the optimal (i.e., shortest length) representation of the image data. This work proposes a digital image compression technique based on Hamming codes. Lossless and near-lossless compression depending upon need can be achieved using several code specifications as mentioned here. The achieved compression ratio, computational cost, and time complexity of the suggested approach with various specifications are evaluated and compared, along with the quality of decompressed images.","PeriodicalId":237333,"journal":{"name":"3C TIC: Cuadernos de desarrollo aplicados a las TIC","volume":"47 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"3C TIC: Cuadernos de desarrollo aplicados a las TIC","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17993/3ctic.2022.112.225-237","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
Working at Bell Labs in 1950, irritated with error-prone punched card readers, R W Hamming began working on error-correcting codes, which became the most used error-detecting and correcting approach in the field of channel coding in the future. Using this parity-based coding, two-bit error detection and one-bit error correction was achievable. Channel coding was expanded further to correct burst errors in data. Depending upon the use of the number of data bits ‘d’ and parity bits ‘k’ the code is specified as (n, k) code, here ‘n’ is the total length of the code (d+k). It means that 'k' parity bits are required to protect 'd' data bits, which also means that parity bits are redundant if the code word contains no errors. Due to the framed relationship between data bits and parity bits of the valid codewords, the parity bits can be easily computed, and hence the information represented by 'n' bits can be represented by 'd' bits. By removing these unnecessary bits, it is possible to produce the optimal (i.e., shortest length) representation of the image data. This work proposes a digital image compression technique based on Hamming codes. Lossless and near-lossless compression depending upon need can be achieved using several code specifications as mentioned here. The achieved compression ratio, computational cost, and time complexity of the suggested approach with various specifications are evaluated and compared, along with the quality of decompressed images.
1950年,在贝尔实验室工作的R·W·汉明(R W Hamming)对容易出错的穿孔读卡器感到恼火,开始研究纠错码,这成为未来信道编码领域最常用的纠错检测和纠错方法。使用这种基于奇偶校验的编码,可以实现2位错误检测和1位错误纠正。进一步扩展了信道编码,以纠正数据中的突发错误。根据数据位' d '和奇偶校验位' k '的使用,代码被指定为(n, k)代码,这里的' n '是代码的总长度(d+k)。这意味着需要“k”个奇偶校验位来保护“d”个数据位,这也意味着如果码字不包含错误,奇偶校验位是冗余的。由于有效码字的数据位和奇偶校验位之间的框架关系,奇偶校验位可以很容易地计算出来,因此用“n”位表示的信息可以用“d”位表示。通过去除这些不必要的位,可以生成图像数据的最佳(即最短长度)表示。本文提出了一种基于汉明码的数字图像压缩技术。根据需要,可以使用这里提到的几种代码规范来实现无损和近无损压缩。评估和比较了不同规格下所建议方法的压缩比、计算成本和时间复杂度,以及解压缩图像的质量。