CN107257473B - An Efficient Image Compression Algorithm - Google Patents

An Efficient Image Compression Algorithm Download PDF

Info

Publication number
CN107257473B
CN107257473B CN201710586240.8A CN201710586240A CN107257473B CN 107257473 B CN107257473 B CN 107257473B CN 201710586240 A CN201710586240 A CN 201710586240A CN 107257473 B CN107257473 B CN 107257473B
Authority
CN
China
Prior art keywords
branches
code
descendants
list
lis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710586240.8A
Other languages
Chinese (zh)
Other versions
CN107257473A (en
Inventor
马涛
郭今
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian University of Electronic Science and Technology
Original Assignee
Xian University of Electronic Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian University of Electronic Science and Technology filed Critical Xian University of Electronic Science and Technology
Priority to CN201710586240.8A priority Critical patent/CN107257473B/en
Publication of CN107257473A publication Critical patent/CN107257473A/en
Application granted granted Critical
Publication of CN107257473B publication Critical patent/CN107257473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

本发明公开了一种高效的图像压缩算法,该方法包括以下步骤:输入:图像;输出:压缩比特流。步骤一、对图像进行小波变化,生成金字塔结构的小波系数集合;步骤二、对小波变化后的图像进行比特层级编码。本发明的算法压缩速度与SPIHT算法相当,但在同样的压缩比下的图像质量PSNR比SPIHT高0.2到0.4dB。该算法在相对低的复杂度的情况下,具有与SPIHTwAAC算法和JPEG2000算法相当的图像压缩效率。本发明具有相对低复杂度的高压缩率的特点,适合推广应用。The invention discloses an efficient image compression algorithm, which comprises the following steps: input: image; output: compressed bit stream. Step 1: Perform wavelet transformation on the image to generate a set of wavelet coefficients in a pyramid structure; Step 2, perform bit-level coding on the image after wavelet transformation. The compression speed of the algorithm of the present invention is comparable to that of the SPIHT algorithm, but the image quality PSNR under the same compression ratio is 0.2 to 0.4 dB higher than that of the SPIHT. The algorithm has image compression efficiency comparable to SPIHTwAAC algorithm and JPEG2000 algorithm with relatively low complexity. The invention has the characteristics of relatively low complexity and high compression rate, and is suitable for popularization and application.

Description

一种高效的图像压缩算法An Efficient Image Compression Algorithm

技术领域technical field

本发明涉及一种高效的图像压缩算法,具体地说,涉及一种相对低复杂度的高压缩率的图像压缩算法。The present invention relates to an efficient image compression algorithm, in particular to an image compression algorithm with relatively low complexity and high compression rate.

背景技术Background technique

图像压缩算法有着广泛的社会应用价值。目前的图像压缩算法主要两类:基于离散傅里叶变化的压缩算法(如JPEG),基于离散小波变化的压缩算法(如SPIHTwAAC,JPEG2000)。基于离散傅里叶变化的压缩算法复杂度低,压缩速率快,但压缩效率低。而基于离散小波变换的压缩算法压缩效率高,但复杂度高。Image compression algorithm has a wide range of social application value. There are two main types of image compression algorithms at present: compression algorithms based on discrete Fourier transform (such as JPEG), and compression algorithms based on discrete wavelet changes (such as SPIHTwAAC, JPEG2000). The compression algorithm based on discrete Fourier transform has low complexity, fast compression rate, but low compression efficiency. The compression algorithm based on discrete wavelet transform has high compression efficiency, but high complexity.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服现有技术中存在的缺陷,提供一种高效的图像压缩算法,该算法压缩速度与SPIHT算法相当,但在同样的压缩比下的图像质量(PSNR)比SPIHT高0.2到0.4dB。该算法在相对低的复杂度的情况下,具有与SPIHTwAAC算法和JPEG2000算法相当的图像压缩效率。The purpose of the present invention is to overcome the defects existing in the prior art, and provide an efficient image compression algorithm, the compression speed of the algorithm is comparable to that of the SPIHT algorithm, but the image quality (PSNR) under the same compression ratio is 0.2 to 0.2 to higher than that of the SPIHT algorithm. 0.4dB. The algorithm has image compression efficiency comparable to SPIHTwAAC algorithm and JPEG2000 algorithm with relatively low complexity.

其具体技术方案为:Its specific technical solutions are:

一种高效的图像压缩算法,包括以下步骤:An efficient image compression algorithm, including the following steps:

输入:图像;input: image;

输出:压缩比特流。Output: Compressed bitstream.

步骤一、对图像进行小波变化,生成金字塔结构的小波系数集合;Step 1: Perform wavelet change on the image to generate a set of wavelet coefficients of the pyramid structure;

步骤二、对小波变化后的图像进行比特层级编码。Step 2: Perform bit-level coding on the image after wavelet change.

进一步,步骤二具体为:Further, the second step is specifically:

首先声明一些定义:First declare some definitions:

LSP:重要小波系数列表;LSP: list of important wavelet coefficients;

LIP:次要小波系数列表;LIP: list of minor wavelet coefficients;

LIS:次要集合列表;LIS: list of minor collections;

D(i,j)集合:节点(i,j)的后裔;D(i,j) set: descendants of node (i,j);

L(i,j)集合:除第一代后裔以外的节点(i,j)其他后裔;L(i, j) set: other descendants of node (i, j) except the first generation descendants;

1.初始化:输出n=log2(max(i,j)|ci,j|);设置LSP为空列表,将处于金字塔最高级的节点添加到LIP,将有后裔的节点的D集合放到LIS中。1. Initialization: output n=log 2 (max (i, j) | c i, j |); set LSP to an empty list, add the node at the highest level of the pyramid to LIP, and put the D set of descendant nodes into the into the LIS.

2.分类处理;2. Classification processing;

3.细化处理:对于每一个在LSP中的表项(除了那些在上一次的分类处理过的表项),输出他们的第n位的值。3. Refinement processing: For each entry in the LSP (except those entries processed in the last classification), output the value of their nth bit.

4.n=n-1,然后返回第2步。4. n=n-1, then go back to step 2.

再进一步,步骤2具体为:Further, step 2 is specifically:

2.1For对于在LIP中的每一个节点ci,j做:2.1 For each node c i,j in the LIP do:

if|ci,j|>=2n,将ci,j添加到LSP中,然后输出1和ci,j的符号位。If| ci,j |>=2 n , add ci,j to the LSP, and then output 1 and the sign bit of ci,j .

else输出0else output 0

end ifend if

end forend for

2.2For每一个在LIS的集合si,j做:2.2 For each set s i,j in LIS do:

if si,j是D集合则if s i,j is D set then

if si,j中有重要值,if s i,j has important values,

then输出1并用D类集合编码方案对其四个第一代后裔进行编码。then outputs 1 and encodes its four first-generation descendants with the D-class set encoding scheme.

if没有重要的第一代后裔,则将si,j为1类型L集合,并将其添加在LIS集合列表中。If there is no significant first-generation descendant, set si,j to be a 1-type L set and add it to the LIS set list.

Else si,j为2类型L集合,也将其添加在LIS集合列表中。Else s i,j is a 2-type L set, which is also added to the LIS set list.

end ifend if

Else输出0Else output 0

end ifend if

If si,j是1类型L集合则If s i,j is a set of type L then

用一类L集合编码方案对其四个分支存在重要值的情况进行编码。并对将哪些没有重要值的分支作为新的D集合移到LIS集合列表中。A class of L-set encoding scheme is used to encode the presence of significant values for its four branches. And move which branches with no significant value to the LIS set list as a new D set.

对于那些有重要值的分支;for those branches with important values;

用D类集合编码方案对其进行编码,encode it with a class D set encoding scheme,

if没有重要的第一代后裔,则该分支为1类型L集合,并将其添加在LIS集合列表中。If there is no significant first-generation descendant, the branch is a 1-type L set and it is added to the LIS set list.

Else该分支为2类型L集合,也将其添加在LIS集合列表中。Else this branch is a 2-type L set, which is also added to the LIS set list.

end ifend if

If si,j是2类型L集合则If s i,j is a 2-type L set then

用2类L集合编码方案对其四个分支存在重要值的情况进行编码。The presence of significant values for its four branches is coded with a 2-class L-set coding scheme.

If si,j没有重要的值,则将该2类型L集合si,j添加到LIS集合列表的最前面。If s i,j has no significant value, add the 2-type L set s i,j to the top of the LIS set list.

else thenelse then

将那些没有重要值的分支作为D集合添加到LIS集合列表的最前面。Add those branches with no significant values to the top of the list of LIS sets as D sets.

对于那些有重要值的分支,用D类集合编码方案对其进行编码。For those branches with significant values, they are encoded with the D-class set encoding scheme.

if该分支的第一代后裔没有重要值,则将该分支以1类型L集合的身份将其添加到LIS列表的最后。If the first generation descendant of the branch has no significant value, then add the branch to the end of the LIS list as a 1-type L set.

Else将该分支以2类型L集合的身份将其添加到LIS列表的最后。Else adds this branch to the end of the LIS list as a 2-type L set.

end ifend if

end ifend if

end ifend if

end for。end for.

与现有技术相比,本发明的有益效果:Compared with the prior art, the beneficial effects of the present invention:

本发明的算法压缩速度与SPIHT算法相当,但在同样的压缩比下的图像质量(PSNR)比SPIHT高0.2到0.4dB。该算法在相对低的复杂度的情况下,具有与SPIHTwAAC算法和JPEG2000算法相当的图像压缩效率。本发明具有相对低复杂度的高压缩率的特点,适合推广应用。The compression speed of the algorithm of the present invention is comparable to that of the SPIHT algorithm, but the image quality (PSNR) under the same compression ratio is 0.2 to 0.4 dB higher than that of the SPIHT. The algorithm has image compression efficiency comparable to SPIHTwAAC algorithm and JPEG2000 algorithm with relatively low complexity. The invention has the characteristics of relatively low complexity and high compression rate, and is suitable for popularization and application.

具体实施方式Detailed ways

下面结合具体实施方案对本发明的技术方案作进一步详细地说明。The technical solutions of the present invention will be described in further detail below in conjunction with specific embodiments.

一种高效的图像压缩算法,包括以下步骤:An efficient image compression algorithm, including the following steps:

输入:图像;input: image;

输出:压缩比特流。Output: Compressed bitstream.

步骤一、对图像进行小波变化,生成金字塔结构的小波系数集合;Step 1: Perform wavelet change on the image to generate a set of wavelet coefficients of the pyramid structure;

步骤二、对小波变化后的图像进行比特层级编码。Step 2: Perform bit-level coding on the image after wavelet change.

进一步,步骤二具体为:Further, the second step is specifically:

首先声明一些定义:First declare some definitions:

LSP:重要小波系数列表;LSP: list of important wavelet coefficients;

LIP:次要小波系数列表;LIP: list of minor wavelet coefficients;

LIS:次要集合列表;LIS: list of minor collections;

D(i,j)集合:节点(i,j)的后裔;D(i,j) set: descendants of node (i,j);

L(i,j)集合:除第一代后裔以外的节点(i,j)其他后裔;L(i, j) set: other descendants of node (i, j) except the first generation descendants;

1.初始化:输出n=log2(max(i,j)|ci,j|);设置LSP为空列表,将处于金字塔最高级的节点添加到LIP,将有后裔的节点的D集合放到LIS中。1. Initialization: output n=log 2 (max (i, j) | c i, j |); set LSP to an empty list, add the node at the highest level of the pyramid to LIP, and put the D set of descendant nodes into the into the LIS.

2.分类处理2. Classification processing

2.1For对于在LIP中的每一个节点ci,j做:2.1 For each node c i,j in the LIP do:

if|ci,j|>=2n,将ci,j添加到LSP中,然后输出1和ci,j的符号位。If| ci,j |>=2 n , add ci,j to the LSP, and then output 1 and the sign bit of ci,j .

else输出0else output 0

end ifend if

end forend for

2.2For每一个在LIS的集合si,j做:2.2 For each set s i,j in LIS do:

if si,j是D集合则if s i,j is D set then

if si,j中有重要值,if s i,j has important values,

then输出1并用D集合编码方案对其四个第一代后裔进行编码then outputs 1 and encodes its four first-generation descendants with the D-set encoding scheme

if没有重要的第一代后裔,则将si,j为1类型L集合,并将其添加在LIS集合列表中。If there is no significant first-generation descendant, set si,j to be a 1-type L set and add it to the LIS set list.

Else si,j为2类型L集合,也将其添加在LIS集合列表中。Else s i,j is a 2-type L set, which is also added to the LIS set list.

end ifend if

Else输出0Else output 0

end ifend if

If si,j是1类型L集合则If s i,j is a set of type L then

用1类L集合编码方案对其四个分支存在重要值的情况进行编码。并对将哪些没有重要值的分支作为新的D集合移到LIS集合列表中。The presence of significant values in its four branches is encoded with a class-1 L-set encoding scheme. And move which branches with no significant value to the LIS set list as a new D set.

对于那些有重要值的分支;for those branches with important values;

用D集合编码方案对其进行编码,encode it with a D-set encoding scheme,

if没有重要的第一代后裔,则该分支为1类型L集合,并将其添加在LIS集合列表中。If there is no significant first-generation descendant, the branch is a 1-type L set and it is added to the LIS set list.

Else该分支为2类型L集合,也将其添加在LIS集合列表中。Else this branch is a 2-type L set, which is also added to the LIS set list.

end ifend if

If si,j是2类型L集合则If s i,j is a 2-type L set then

用2类L集合编码方案对其四个分支存在重要值的情况进行编码。The presence of significant values for its four branches is coded with a 2-class L-set coding scheme.

If si,j没有重要的值,则将该2类型L集合si,j添加到LIS集合列表的最前面。If s i,j has no significant value, add the 2-type L set s i,j to the top of the LIS set list.

else thenelse then

将那些没有重要值的分支作为D集合添加到LIS集合列表的最前面。Add those branches with no significant values to the top of the list of LIS sets as D sets.

对于那些有重要值的分支,用D集合编码方案对其进行编码。For those branches with significant values, they are encoded with a D-set encoding scheme.

if该分支的第一代后裔没有重要值,则将该分支以1类型L集合的身份将其添加到LIS列表的最后。If the first generation descendant of the branch has no significant value, then add the branch to the end of the LIS list as a 1-type L set.

Else将该分支以2类型L集合的身份将其添加到LIS列表的最后。Else adds this branch to the end of the LIS list as a 2-type L set.

end ifend if

end ifend if

end ifend if

end for。end for.

3.细化处理:对于每一个在LSP中的表项(除了那些在上一次的分类处理过的表项),输出他们的第n位的值。3. Refinement processing: For each entry in the LSP (except those entries processed in the last classification), output the value of their nth bit.

4.n=n-1,然后返回第2步。4. n=n-1, then go back to step 2.

D集合编码方案:D-set encoding scheme:

用‘0’,‘1’表示是否为重要后代,如果四个后裔是0000,则编码为000;如果四个后裔是0001时,编码为001;如果四个后裔是0010时,编码为010;如果四个后裔是0100时,编码为011;如果四个后裔是1000时,编码为100;如果四个后裔是0011时,编码为1010;如果四个后裔是0110时,编码为1011;如果四个后裔是0101时,编码为1100;如果四个后裔是1001时,编码为1101;如果四个后裔是1010时,编码为11100;如果四个后裔是1100时,编码为11101,如果四个后裔是1110时,编码为111100;如果四个后裔是1101时,编码为111101;如果四个后裔是1011时,编码为111110;如果四个后裔是0111时,编码为1111110;如果四个后裔是1111时,编码为1111111。Use '0', '1' to indicate whether it is an important descendant, if the four descendants are 0000, the code is 000; if the four descendants are 0001, the code is 001; if the four descendants are 0010, the code is 010; If the four descendants are 0100, the code is 011; if the four descendants are 1000, the code is 100; if the four descendants are 0011, the code is 1010; if the four descendants are 0110, the code is 1011; if the four descendants are 0110, the code is 1011; When the number of descendants is 0101, the code is 1100; if the four descendants are 1001, the code is 1101; if the four descendants are 1010, the code is 11100; if the four descendants are 1100, the code is 11101; if the four descendants are 1100, the code is 11101; When it is 1110, the code is 111100; if the four descendants are 1101, the code is 111101; if the four descendants are 1011, the code is 111110; if the four descendants are 0111, the code is 1111110; if the four descendants are 1111 , the code is 1111111.

1类L集合编码方案:Class 1 L-set encoding scheme:

用‘0’和‘1’表示四个分支是否有重要后裔,如果四个分支是0001,编码为11;如果四个分支为0010,编码为10;如果四个分支为0100,编码为011;如果四个分支为1000,编码为010;如果四个分支为0011,编码为00111;如果四个分支为0110,编码为00110;如果四个分支为0101,编码为00100;如果四个分支为1001,编码为00100;如果四个分支为1010,编码为00010;如果四个分支为1100,编码为00011;如果四个分支为1110,编码为000011;如果四个分支为1101,编码为000010;如果四个分支为1011,编码为000001;如果四个分支为0111,编码为0000001;如果四个分支为1111,编码为0000000。Use '0' and '1' to indicate whether the four branches have important descendants. If the four branches are 0001, the code is 11; if the four branches are 0010, the code is 10; if the four branches are 0100, the code is 011; If the four branches are 1000, the code is 010; if the four branches are 0011, the code is 00111; if the four branches are 0110, the code is 00110; if the four branches are 0101, the code is 00100; if the four branches are 1001 , the code is 00100; if the four branches are 1010, the code is 00010; if the four branches are 1100, the code is 00011; if the four branches are 1110, the code is 000011; if the four branches are 1101, the code is 000010; if If the four branches are 1011, the code is 000001; if the four branches are 0111, the code is 0000001; if the four branches are 1111, the code is 0000000.

2类L集合编码方案:2-type L-set encoding scheme:

用‘0’和‘1’表示四个分支是否有重要后裔,如果四个分支是0000,编码为0;如果四个分支是0001,编码为1000;如果四个分支为0010,编码为1001;如果四个分支为0100,编码为1011;如果四个分支为1000,编码为1010;如果四个分支为0011,编码为11000;如果四个分支为0110,编码为11001;如果四个分支为0101,编码为11010;如果四个分支为1001,编码为11011;如果四个分支为1010,编码为11101;如果四个分支为1100,编码为111000;如果四个分支为1110,编码为111001;如果四个分支为1101,编码为111100;如果四个分支为1011,编码为111101;如果四个分支为0111,编码为111110;如果四个分支为1111,编码为111111。Use '0' and '1' to indicate whether the four branches have important descendants. If the four branches are 0000, the code is 0; if the four branches are 0001, the code is 1000; if the four branches are 0010, the code is 1001; If the four branches are 0100, the code is 1011; if the four branches are 1000, the code is 1010; if the four branches are 0011, the code is 11000; if the four branches are 0110, the code is 11001; if the four branches are 0101 , the encoding is 11010; if the four branches are 1001, the encoding is 11011; if the four branches are 1010, the encoding is 11101; if the four branches are 1100, the encoding is 111000; if the four branches are 1110, the encoding is 111001; if If the four branches are 1101, the code is 111100; if the four branches are 1011, the code is 111101; if the four branches are 0111, the code is 111110; if the four branches are 1111, the code is 111111.

表1所提算法和SPIHT算法的图像压缩质量PSNR的比较Table 1 Comparison of image compression quality PSNR between the proposed algorithm and SPIHT algorithm

Figure GDA0002270633290000081
Figure GDA0002270633290000081

表2图像LENA 512X512的运行时间的比较Table 2. Comparison of running times of images LENA 512X512

Figure GDA0002270633290000082
Figure GDA0002270633290000082

我们对所提算法进行测试,测试所选用的图像来自学术界的经典图像数据库:南加州大学信号图像处理中心图像库(USC-SIPI image Database)(http://sipi.usc.edu/database/)和伦斯勒理工学院图像处理研究中心静态图像库(CIPR still imageslibrary)(http://www.cipr.rpi.edu/resource/stills/index.html)。We test the proposed algorithm, and the images selected for the test are from a classic image database in academia: USC-SIPI image Database (http://sipi.usc.edu/database/ ) and the Center for Image Processing Research at Rensselaer Polytechnic Institute (CIPR still imageslibrary) (http://www.cipr.rpi.edu/resource/stills/index.html).

可以从表1中看到,所提出的图像压缩算法在不同的压缩比的情况下的压缩质量(PSNR)优于SPIHT 0.2dB到0.4dB.由表2,可以看到所提的图像压缩算法的速度与SPIHT算法的速度相当。It can be seen from Table 1 that the compression quality (PSNR) of the proposed image compression algorithm is better than SPIHT by 0.2dB to 0.4dB under different compression ratios. From Table 2, it can be seen that the proposed image compression algorithm The speed is comparable to that of the SPIHT algorithm.

以上所述,仅为本发明较佳的具体实施方式,本发明的保护范围不限于此,任何熟悉本技术领域的技术人员在本发明披露的技术范围内,可显而易见地得到的技术方案的简单变化或等效替换均落入本发明的保护范围内。The above are only preferred specific embodiments of the present invention, and the protection scope of the present invention is not limited thereto. Any person skilled in the art can obviously obtain the simplicity of the technical solution within the technical scope disclosed in the present invention. Variations or equivalent substitutions fall within the protection scope of the present invention.

Claims (1)

1. An efficient image compression algorithm, comprising the steps of:
inputting: an image;
step one, performing wavelet change on an image to generate a wavelet coefficient set with a pyramid structure;
step two, carrying out bit level coding on the image after the wavelet change;
and (3) outputting: compressing a bit stream;
the second step is specifically as follows:
first, some definitions are declared:
LSP: a list of significant wavelet coefficients;
LIP, secondary wavelet coefficient list;
LIS secondary set list;
d (i, j) set: descendants of nodes (i, j);
set of L (i, j): nodes (i, j) other descendants than the first generation descendant;
step 1, initialization: output n is log2(max(i,j)|ci,jI)); setting the LSP as a null list, adding the nodes at the highest level of the pyramid to the LIP, and putting the D set of the nodes with descendants into the LIS;
step 2, classification processing;
step 3, refining treatment: for each table entry which is not classified in the LSP, outputting the value of the nth bit;
step 4, n is n-1, and then the step 2 is returned;
the step 2 specifically comprises the following steps:
step 2.1for each node c in LIPi,jThe method comprises the following steps:
if | ci,j|>=2nC is mixingi,jAdded to LSP and then output 1 and ci,jThe sign bit of (a);
otherwise, outputting 0;
step 2.2 Each set s in LISi,jThe method comprises the following steps:
if s isi,jIs the D set
If s isi,jThere is an important value in (1) for,
outputting 1 and encoding four first generation descendants thereof with a class D set encoding scheme;
if there is no significant first generation descendant, s is determinedi,jSetting a type L set as 1, and adding the type L set into an LIS set list;
otherwise si,jIs a type 2L set, and is also added into the LIS set list;
otherwise, outputting 0;
if s isi,jIs 1 type L set
Coding the condition that the four branches of the L-type set coding scheme have important values by using a type 1L set coding scheme; and moving the branches without important values as a new D set into an LIS set list;
for those branches with significant values;
encoding it with a class D set encoding scheme;
if there are no significant first generation descendants, then the branch is a type 1L set and added to the LIS set list;
otherwise, the branch is a type 2L set and is also added into the LIS set list;
if s isi,jIs type 2L set
Coding the condition that four branches of the L-type set coding scheme have important values by using a 2-type L set coding scheme;
if s isi,jWithout significant values, the 2 types L are aggregated si,jAdding to the top of the list of LIS collections;
otherwise, adding the branches without important values as D sets to the top of the LIS set list;
for those branches with important values, encoding them with a class D set encoding scheme;
if the first generation descendant of the branch has no significant value, adding the branch to the end of the LIS list with a 1 type L set of identities;
otherwise, the branch is added to the last of the LIS list with the identity of the type 2L set;
wherein, the D set encoding scheme:
with '0', '1' to indicate whether it is an important descendant, if four descendants are 0000, it is encoded as 000; if the four descendants are 0001, encoding 001; if the four descendants are 0010, the code is 010; if the four descendants are 0100, the code is 011; if the four descendants are 1000, then the code is 100; if the four descendants are 0011, the code is 1010; if four descendants are 0110, encode 1011; if the four descendants are 0101, 1100 is encoded; if the four descendants are 1001, encoding 1101; if the four descendants are 1010, the code is 11100; if the four descendants are 1100, the code is 11101, if the four descendants are 1110, the code is 111100; if the four descendants are 1101, encoding 111101; if the four descendants are 1011, encoding 111110; if the four descendants are 0111, 1111110 is encoded; if the four descendants are 1111, the code is 1111111;
class 1L set coding scheme:
indicating with '0' and '1' whether the four branches have significant descendants, if they are 0001, encoding 11; if the four branches are 0010, the code is 10; if the four branches are 0100, the code is 011; if the four branches are 1000, the code is 010; if the four branches are 0011, the code is 00111; if the four branches are 0110, the code is 00110; if the four branches are 0101, the code is 00100; if the four branches are 1001, the code is 00100; if the four branches are 1010, the code is 00010; if the four branches are 1100, the code is 00011; if the four branches are 1110, the code is 000011; if the four branches are 1101, the code is 000010; if the four branches are 1011, the code is 000001; if the four branches are 0111, the code is 0000001; if the four branches are 1111, the code is 0000000;
class 2L set coding scheme:
indicating with '0' and '1' whether the four branches have significant descendants, if the four branches are 0000, encoding 0; if four branches are 0001, the code is 1000; if the four branches are 0010, the code is 1001; if the four branches are 0100, the code is 1011; if the four branches are 1000, the code is 1010; if the four branches are 0011, the code is 11000;
if the four branches are 0110, the code is 11001; if the four branches are 0101, the code is 11010; if the four branches are 1001, the code is 11011; if the four branches are 1010, the code is 11101; if the four branches are 1100, the code is 111000; if the four branches are 1110, the code is 111001; if the four branches are 1101, the code is 111100;
if the four branches are 1011, the code is 111101; if the four branches are 0111, the code is 111110; if the four branches are 1111, the code is 111111.
CN201710586240.8A 2017-07-18 2017-07-18 An Efficient Image Compression Algorithm Active CN107257473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710586240.8A CN107257473B (en) 2017-07-18 2017-07-18 An Efficient Image Compression Algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710586240.8A CN107257473B (en) 2017-07-18 2017-07-18 An Efficient Image Compression Algorithm

Publications (2)

Publication Number Publication Date
CN107257473A CN107257473A (en) 2017-10-17
CN107257473B true CN107257473B (en) 2020-01-10

Family

ID=60025165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710586240.8A Active CN107257473B (en) 2017-07-18 2017-07-18 An Efficient Image Compression Algorithm

Country Status (1)

Country Link
CN (1) CN107257473B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468807B (en) * 2020-11-16 2024-07-02 北京达佳互联信息技术有限公司 Coding type determining method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1213611C (en) * 2000-04-04 2005-08-03 皇家菲利浦电子有限公司 Video encoding method using wavelet transform
CN101582169A (en) * 2009-06-26 2009-11-18 西安电子科技大学 Distributed hyper spectrum image compression method based on 3D wavelet transformation
CN102148993A (en) * 2010-02-10 2011-08-10 中兴通讯股份有限公司 Method and device for encoding wavelet image
CN102637302A (en) * 2011-10-24 2012-08-15 北京航空航天大学 Image coding method
CN103024399A (en) * 2013-01-18 2013-04-03 北京航空航天大学 Wavelet transform based extreme-low bit-rate video compressing and coding method
CN105828088A (en) * 2016-03-22 2016-08-03 辽宁师范大学 Edge enhancement improved SPIHT image coding and decoding method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8428379B2 (en) * 2011-08-25 2013-04-23 Mitsubishi Electric Research Laboratories, Inc. Method for distributed source coding of wavelet coefficients in zerotrees

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1213611C (en) * 2000-04-04 2005-08-03 皇家菲利浦电子有限公司 Video encoding method using wavelet transform
CN101582169A (en) * 2009-06-26 2009-11-18 西安电子科技大学 Distributed hyper spectrum image compression method based on 3D wavelet transformation
CN102148993A (en) * 2010-02-10 2011-08-10 中兴通讯股份有限公司 Method and device for encoding wavelet image
CN102637302A (en) * 2011-10-24 2012-08-15 北京航空航天大学 Image coding method
CN103024399A (en) * 2013-01-18 2013-04-03 北京航空航天大学 Wavelet transform based extreme-low bit-rate video compressing and coding method
CN105828088A (en) * 2016-03-22 2016-08-03 辽宁师范大学 Edge enhancement improved SPIHT image coding and decoding method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Joined Spectral Trees for Scalable SPIHT-Based Multispectral Image Compression;Fouad Khelifi etal.;《IEEE TRANSACTIONS ON MULTIMEDIA》;20080430;第10卷(第3期);316-329 *
基于小波变换的图像无损压缩算法研究;武永红;《中国优秀博硕士学位论文全文数据库(硕士)》;20130315;I138-1481 *

Also Published As

Publication number Publication date
CN107257473A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
Mallaiah et al. An Spiht algorithm with Huffman encoder for image compression and quality improvement using Retinex algorithm
CN102014283A (en) First-order difference prefix notation coding method for lossless compression of image data
CN107257473B (en) An Efficient Image Compression Algorithm
CN101582169A (en) Distributed hyper spectrum image compression method based on 3D wavelet transformation
Li An improved wavelet image lossless compression algorithm
CN101068358A (en) A Method for Constructing Wavelet-Based Classification Oriented to Image Compression
CN115361559A (en) Image encoding method, image decoding method, image encoding device, image decoding device, and storage medium
CN103763566A (en) Color halftone image compressing method based on three-dimensional matrix WDCT transformation
CN101668204A (en) Immune clone image compression method
CN110246093A (en) A kind of decoding image enchancing method
CN105828088B (en) An Improved SPIHT Image Encoding and Decoding Method for Edge Enhancement
CN103746701A (en) Rapid encoding option selecting method applied to Rice lossless data compression
Radhakrishnan et al. Novel Image Compression Using Multiwavelets with SPECK Algorithm.
CN114125447B (en) Compressed sensing quick reconstruction method based on blocking and transposition algorithm
Li et al. SPIHT algorithm combined with Huffman encoding
CN111131834A (en) Reversible self-encoder, encoding and decoding method, image compression method and device
CN109035350B (en) Improved SPIHT image encoding and decoding method based on energy leakage and amplification
CN108399645B (en) Image coding method and device based on contourlet transformation
Jawahar et al. Compression of leather images for automatic leather grading system using multiwavelet
Zhu et al. An improved SPIHT algorithm based on wavelet coefficient blocks for image coding
CN104700121A (en) Average/variance classification based three-dimensional Self-Organizing Map (SOM) initialization pattern bank generation method
CN118200573B (en) Image compression method, training method and device of image compression model
CN116033156A (en) Medical image compression method and device based on SPIHT and DWT algorithms
CN116563081B (en) A spatial domain blind image watermarking method
Ananth Comparison of spiht and lifting scheme image compressiontechniques for satellite imageries

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant