基于JPEG 2000的Kakadu开源代码结构和移植性分析

2010-05-13 08:46:00孔祥焰罗桂娥
现代电子技术 2009年12期
关键词:引擎程序

孔祥焰 罗桂娥

摘 要:JPEG 2000是新一代的静态图像压缩标准,而Kakadu是JPEG 2000官方建议的实现代码之一,也是目前效率最高的JPEG 2000开源代码,然而Kakadu代码的复杂性和移植高难度性制约了JPEG 2000代码的实现。为了实现Kakadu代码在不同平台的移植,针对Kakadu代码结构的高复杂性,在分析Kakadu系统结构以及参考程序参数的基础上,以Kakadu标准的编码工程Kducompress对代码的具体结构进行剖析,阐明了代码运行效率高的原因。最后以KakaduV2.2.3移植到TI TMS320DM642为例,对代码进行移植性分析及实现,对可能需要的修改给出了方向,为代码在不同平台的实现进行了有益的探索。

关键词:JPEG 2000;Kakadu;代码分析;DM642

中图分类号:TP31111文献标识码:A

文章编号:1004-373X(2009)12-064-04

Analysis of Kakadu′s Structure and Portability Based on JPEG 2000

KONG Xiangyan,LUO Gui′e

(School of Information Science and Engineering,Central South University,Changsha,410083,China)

Abstract:JPEG 2000 is the next generation of static image compression standard.Kakadu is one of the JPEG 2000 implemental codes of which the official proposed,and is also the most efficient codes around the world.However the difficulty and complexity of Kakadu′s portability restricts code′s realization of JPE2000.In order to implement Kakadu′s portability on different platforms,aiming at the highly complexity of JPEG 2000 and its implemental codes-Kakadu,and a detailed analysis is given on Kakadu′s architecture,referential appreciation′s parameter and the code′s specific structure based on the standard coding project-Kducompress.An analysis on the reason why it has high efficiency is proposed.In the end,an analysis on portability and implementation of KakaduV2.2.3,so as to give an beneficial research on different platforms.All the analysis and implementation of portability based on TI TMS320DM642.

Keywords:JPEG 2000;Kakadu;code analysis;DM642

0 引 言

JPEG 2000与传统的JPEG标准有很大的不同[1],由于其卓越的图像压缩性能和很高的灵活性,在各个领域有着广阔的应用前景[2,3]。JPEG 2000的这些特性主要来源于小波变换[4]、比特平面编码和算术编码技术。由于这些技术的引入,JPEG 2000的算法复杂度也相应提高,且在一定程度上限制了JPEG 2000的应用[5]。

Kakadu作为JPEG 2000开源代码的“开山鼻祖”,其作者David Taubman正是JPEG 2000核心编码EBCOT[6]的发明者。由此可见,Kakadu在JPEG 2000实现代码中的地位。但由于Kakadu是使用标准C++ 编写的程序,并加入一些JPEG 2000标准所没有的特性,因此其代码复杂性非常高[7],而且标准C++并不像C语言那样受到各嵌入式系统的广泛支持。以上种种原因表明,Kakadu代码的入门和移植都非常困难。因此对Kakadu代码和移植性的分析就显得非常必要。

1 JPEG 2000标准的概述

JPEG 2000即ISO/ITU15444,是由国际标准化组织ISO和国际电信标准化联盟ITU-T于2000年底联合颁布的新一代图像压缩国际标准。……

登录APP查看全文

猜你喜欢
引擎程序
以学促干 挺膺担当 激活砥砺前行的红色引擎
试论我国未决羁押程序的立法完善
人大建设(2019年12期)2019-05-21 02:55:44
失能的信仰——走向衰亡的民事诉讼程序
“程序猿”的生活什么样
蓝谷: “涉蓝”新引擎
商周刊(2017年22期)2017-11-09 05:08:31
英国与欧盟正式启动“离婚”程序程序
环球时报(2017-03-30)2017-03-30 06:44:45
创卫暗访程序有待改进
中国卫生(2015年3期)2015-11-19 02:53:32
无形的引擎
河南电力(2015年5期)2015-06-08 06:01:46
基于Cocos2d引擎的PuzzleGame开发
恐怖犯罪刑事诉讼程序的完善