嵌入广义树分类器的集合划分编码
Set partition coding for embedding a generalized tree classifier
- 2020年25卷第1期 页码:73-80
收稿:2019-05-08,
修回:2019-8-27,
录用:2019-9-4,
纸质出版:2020-01-16
DOI: 10.11834/jig.190162
移动端阅览

浏览全部资源
扫码关注微信
收稿:2019-05-08,
修回:2019-8-27,
录用:2019-9-4,
纸质出版:2020-01-16
移动端阅览
目的
2
针对现有小波域图像集合划分编码(SPC)方法存在无损编码性能较弱的问题,设计广义树分类器,构建嵌入广义树分类器的集合划分编码方法(SPACS_C)。
方法
2
针对已有SPC方法对坐标集合直接进行"先检测后划分"编码,存在当位平面降低导致数据之间相关性降低后位置比特和不必要比特数量急剧增大问题,SPACS_C对编码过程中产生的坐标集合分类处理,减少对坐标集合的显著性检测次数,从而降低位置比特的输出。SPACS_C对广义树分类处理利用图像小波系数的稀疏度随位平面降低而迅速降低的数据特点,对"先划分后检测"和"先检测后划分"两种方式所需的比特开销进行预测,选用比特开销较少的方式编码坐标集合,减少SPACS_C输出的位置比特数量。
结果
2
采用不同统计特性和不同大小的可见光图像(8 bit)和红外图像(16 bit)测试SPACS_C,结果表明SPACS_C的无损编码性能优于JPEG 2000,特别是对红外图像的无损编码平均节省了3.1%的数据空间;性能接近或超过图像无损压缩标准JPEG-LS。
结论
2
SPACS_C对坐标集合的分类处理利用小波域图像低层位平面稀疏度差的数据特点,有效减少位置比特输出,进而提高编码性能。与JPEG2000一样,SPACS_C可以实现图像质量的渐进式压缩。SPACS_C的编码不受图像数据动态范围的影响,可以对任意位深度的图像进行压缩编码。
Objective
2
As a powerful image compression method
set partition coding (SPC) method effectively uses the correlation between the wavelet coefficients to obtain a higher data compression ratio
and it has been widely used for all types of image compression. The SPC method uses the idea of successive quantization approximation of the wavelet coefficient set
such as set partition coding system (SPACS)
which partitions the coefficient set step-by-step to find significant coefficients and code them. A significance map was used to decide whether a set is significant
based on which set will be partitioned. If a set is significant
then SPC will output a location bit "1" and the set will be partitioned into 4 subsets; otherwise
the set is prepared for the next set coding operation. If set partition operations are conformable to the distribution of the insignificant coefficients
then location bits and unnecessary bits will be decreased. When the coefficient set is sparse
the SPC method can use fewer bits to encode the image. However
with the decrease of the bit plane
the sparseness of the coefficient set decreases
and the SPC method will waste many location and unnecessary bits
especially for lossless compression. To increase the lossless encoding performance of the set SPC method
we construct a set partition coding method that embeds a generalized tree classifier named SPACS_C.
Method
2
The previous SPC methods process all coordinate sets with "test before partition
" thereby increasing the number of location and unnecessary bits when the correlation between data decreases. SPACS_C calculates the bit costs of two different coding ways called "test before partition" and "partition before test" for each coordinate set. Then
it chooses the one with lower bit cost to process the set. The process method used in SPACS_C takes advantage of the data characteristics in which the sparseness of bottom bit-planes decrease rapidly in wavelet transformed images. SPACS_C performs the coding process in the domain of the wavelet transform of the image. Daubechies (4
4) integer wavelet transform is used in this study. The level of wavelet transform is determined by the image size. For instance
a level of 5 is recommended for an image with a spatial size of 512×512. Similar to SPACS
a general tree (GT) is used to simultaneously represent the tree and square sets in the wavelet domain. The processing flow of SPACS_C is as follows:1)Initialization. Let the threshold n be most significant digit of the maximum of the wavelet coefficient and the list of significant points (LSP) be an empty list. Add all GTs into the list of insignificant points (LIP)
where all GTs that have descendants are added into the list of insignificant sets (LIS). 2)Sorting pass. Perform the significant test for every entry (
$$i
j$$
) in LIP. If the result is positive
bit=1
add GT (
$$i
j$$
; 1) into LSP to output the sign of the root node coefficient
and then remove (
$$i
j$$
) from LIP. For every entry in LIS
conduct prediction to calculate the bit costs of the two different coding ways called "test before partition" and "partition before test". The bit costs are the mathematical expectation of the bits used in coding using the two methods. If "test before partition" uses less bits than "partition before test"
then do "test before partition". Otherwise do "partition before test". If the result of the "test before partition" is positive
then the out location bit "1" moves to the corresponding GT from LIP to LSP and outputs the sign of the root node coefficient. For "partition before test"
the executed partition is removed from LIS. Let List1 be the partition result of a GT in LIS. Perform a significant test for every entry in List1. If the result is positive
partition the list to obtain a new set List2
and then place all entries at the end of LIS. Otherwise
place the entries at LIS. 3)Refinement pass. For every entry in LSP
if type=0
output the
$$n$$
th most significant bit
whereas if type=1
update type=0.4)Threshold update. Let
$$n$$
=
$$n$$
-1 and return to sorting pass until n is equal to 0 to achieve a lossless compression. In SPACS_C
the significant test is performed by a significant test function
where for any element
$$c$$
in a set
$$\mathit{\boldsymbol{c}}$$
if
$$c$$
≥
$${2^n}$$
and
$$c$$
<
$${2^{n + 1}}$$
then
$$c$$
is significantly relative to the threshold value
$${2^n}$$
.
Result
2
Various visible and infrared images with different sizes
statistical properties
and bit depths were used to evaluate SPACS_C
and JPEG2000 and JPEG-LS were used for comparison. For SPACS_C
a 5-level Daubechies (4
4) integer wavelet transform was used for decomposition. In addition
the wavelet coefficients were encoded. For infrared images with bit depths of 16 and 8 bits
the lossless encoding performance of SPACS_C was improved and became superior to that of JPEG 2000; an average of 3.1% less bits were used by the former. Notably
JPEG-LS can only be used for 8-bit image compression. For visible images with 8-bit depth
SPACS_C was superior to that of JPEG2000 and comparable with JPEG-LS. Unlike JPEG-LS
SPACS_C can provide a quality progressive code flow
which means that SPACS_C can also be used in loss compression and can stop coding when a limited bit rate is satisfied. SPACS_C can use part of the code stream to reconstruct the entire image
whereas JPEG-LS can only reconstruct part of the image.
Conclusion
2
The proposed method enhances the coding performance of SPC for lossless image compression by decreasing the output of location bit "1". Extensive experiment results show that the lossless compression performance of SPACS_C is better than that of JPEG2000 and comparable with JPEG-LS. The process mode used in SPACS_C suits the low sparseness in the bottom bit planes of wavelet-transformed images. Moreover
SPACS_C can progressively compress images such as JPEG2000. Unlike JPEG-LS
which can only compress images with 8-bit depth
SPACS_C can be used for images with any bit depth.
Boukaache A, Doghmane N and Boudjehem D. 2018. New SPIHT-based algorithm for electrocardiogram signal compression. Journal of Mechanics in Medicine and Biology, 19(3):1950005[DOI:10.1142/S0219519419500052]
Chen C, Zhang X Q and Zhou S Y. 2018. Improvement and hardware implementation for bit rate control algorithm of JPEG-LS. Chinese Journal of Space Science, 38(6):944-952
陈聪, 张学全, 周盛雨. 2018. JPEG-LS码率控制算法改进及硬件实现.空间科学学报, 38(6):944-952)[DOI:10.11728/cjss2018.06.944]
Chen Y L, Yan J W and Ma L M. 2018.Compression method for hyperspectral images. Computer Engineering and Design, 39(3):780-784
陈玉玲, 闫敬文, 马丽梅. 2018.高光谱图像压缩方法.计算机工程与设计, 39(3):780-784)[DOI:10.16208/j.issn1000-7024.2018.03.032]
Christophe E, Mailhes C and Duhamel P. 2008. Hyperspectral image compression:adapting SPIHT and EZW to anisotropic 3-D wavelet coding. IEEE Transactions on Image Processing, 17(12):2334-2346[DOI:10.1109/TIP.2008.2005824]
Fang X S, Huang Z C and Chen Y X. 2018.Research on Huffman algorithm based on PCA and SPIHT for image compression. Journal of Zhejiang University:Science Edition, 45(1):54-59
方炫苏, 黄樟灿, 陈亚雄. 2018.基于主成分分析和分层树集合划分的Huffman算法图像压缩研究.浙江大学学报:理学版, 45(1):54-59)[DOI:10.3785/j.issn.1008-9497.2018.01-009]
Kidwai N R, Khan E and Reisslein M. 2016. ZM-SPECK:a fast and memoryless image coder for multimedia sensor networks. IEEE Sensors Journal, 16(8):2575-2587[DOI:10.1109/JSEN.2016.2519600]
Kim H, No A and Lee H J. 2018.SPIHT algorithm with adaptive selection of compression ratio depending on DWT coefficients. IEEE Transactions on Multimedia, 20(12):3200-3211[DOI:10.1109/TMM.2018.2832604]
Lahdir M, Hamiche H, Kassim S and Tahanout M. 2019. A novel robust compression-encryption of images based on SPIHT coding and fractional-order discrete-time chaotic system. Optics&Laser Technology, 109:534-546[DOI:10.1016/j.optlastec.2018.08.040]
Lee R C and Hung K C. 2019. New modified SPIHT algorithm for data compression system. Journal of Medical and Biological Engineering, 39(1):18-26[DOI:10.1007/s40846-018-0384-z]
Li F Y. 2017.Analysis and application of image compression technology in mobile internet. Xi'an:Xidian University
李凤怡. 2017.移动互联网时代的图像压缩技术分析及应用探讨.西安:西安电子科技大学)
Li Q F, Chen D R, He G L, Feng H and Yang L X. 2015. Hyperspectral image compression algorithm with maximum error controlled based on clustering. Journal of Electronics&Information Technology, 37(2):255-260
李秋富, 谌德荣, 何光林, 冯辉, 杨柳心. 2015.最大误差可控的高光谱图像聚类压缩算法.电子与信息学报, 37(2):255-260)[DOI:10.11999/JEIT140451]
Li Q F, Chen D R, Jiang W, Liu B T and Gong J L. 2016.Generalization of SPIHT:set partition coding system. IEEE Transactions on Image Processing, 25(2):713-725[DOI:10.1109/TIP.2015.2509253]
Liu M H. 2018.Design and implementation of the high frame rate image compression device loaded on rockets. Taiyuan:North University of China
刘敏慧. 2018.箭载高帧频图像压缩装置设计与实现.太原:中北大学)
Ntsama E P, Colince W and Ele P. 2016. Comparison study of EMG signals compression by methods transform using vector quantization, SPIHT and arithmetic coding. SpringerPlus, 5:444[DOI:10.1186/s40064-016-2095-7]
Pearlman W Aand Said A. 2008a. Image wavelet coding systems:part Ⅱ of set partition coding and image wavelet coding systems. Foundations and Trends in Signal Processing, 2(3):181-246[DOI:10.1561/2000000014]
Pearlman W A and Said A. 2008b. Set partition coding:part Ⅰ of set partition coding and image wavelet coding systems. Foundations and Trends in Signal Processing, 2(2):95-180[DOI:10.1561/2000000013]
Pearlman W A, Islam A, Nagaraj N and Said A. 2004. Efficient, low-complexity image coding with a set-partitioning embedded block coder. IEEE Transactions on Circuits and Systems for Video Technology, 14(11):1219-1235[DOI:10.1109/tcsvt.2004.835150]
Said A and Pearlman W A. 1996. A new, fast, and efficient image codec based on set partitioning in hierarchical trees. IEEE Transactions on Circuits and Systems for Video Technology, 6(3):243-250[DOI:10.1109/76.499834]
Sudha V and Sudhakar R. 2014. 3D multiwavelet based block coding algorithm for compression of volumetric medical images. International Journal of Imaging Systems and Technology, 24(2):182-192[DOI:10.1002/ima.22093]
Sun P H, Lan J L, Lu X Y and Ma T. 2017. Field-trimming compression model for rule set of packet classification. Journal of Electronics&Information Technology, 39(5):1185-1192
孙鹏浩, 兰巨龙, 陆肖元, 马腾. 2017.一种基于匹配域裁剪的包分类规则集压缩方法.电子与信息学报, 39(5):1185-1192)[DOI:10.11999/JEIT160740]
Yeh H L, Gue S T, Tsai P and Shih W K. 2013. Wavelet bit-plane based data hiding for compressed images. AEU-International Journal of Electronics and Communications, 67(9):808-815[DOI:10.1016/j.aeue.2013.04.003]
相关作者
相关机构
京公网安备11010802024621