资源简介
JBIG是一种无损图像的压缩标准,
JBIG(Joint Bi-level Image Experts Group,联合二值图像专家组)是发布二值图像编码标准的专家组。在官方来说,JBIG是ISO/IEC JTC1 SC29工作组1,这个工作组也负责JPEG标准,它是一套压缩算法,用来产生Web浏览器支持的以及典型地用于复杂图像(例如照片)的图像文件。

代码片段和文件信息
/*
* Portable Free JBIG image compression library
*
* Markus Kuhn -- http://www.cl.cam.ac.uk/~mgk25/
*
* $Id: jbig.cv 1.22 2004-06-11 15:17:06+01 mgk25 Exp $
*
* This module implements a portable standard C encoder and decoder
* using the JBIG lossless bi-level image compression algorithm as
* specified in International Standard ISO 11544:1993 or equivalently
* as specified in ITU-T Recommendation T.82. See the file jbig.doc
* for usage instructions and application examples.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not write to the Free Software
* Foundation Inc. 675 Mass Ave Cambridge MA 02139 USA.
*
* If you want to use this program under different license conditions
* then contact the author for an arrangement.
*
* It is possible that certain products which can be built using this
* software module might form inventions protected by patent rights in
* some countries (e.g. by patents about arithmetic coding algorithms
* owned by IBM and AT&T in the USA). Provision of this software by the
* author does NOT include any licences for any patents. In those
* countries where a patent licence is required for certain applications
* of this software module you will have to obtain such a licence
* yourself.
*/
#ifdef DEBUG
#include
#else
#ifndef NDEBUG
#define NDEBUG
#endif
#endif
#include
#include
#include
#include “jbig.h“
/* optional export of arithmetic coder functions for test purposes */
#ifdef TEST_CODEC
#define ARITH
#define ARITH_INL
#else
#define ARITH static
#ifdef __GNUC__
#define ARITH_INL static __inline__
#else
#define ARITH_INL static
#endif
#endif
#define MX_MAX 127 /* maximal supported mx offset for
* adaptive template in the encoder */
#define TPB2CX 0x195 /* contexts for TP special pixels */
#define TPB3CX 0x0e5
#define TPDCX 0xc3f
/* marker codes */
#define MARKER_STUFF 0x00
#define MARKER_RESERVE 0x01
#define MARKER_SDNORM 0x02
#define MARKER_SDRST 0x03
#define MARKER_ABORT 0x04
#define MARKER_NEWLEN 0x05
#define MARKER_ATMOVE 0x06
#define MARKER_COMMENT 0x07
#define MARKER_ESC 0xff
/* loop array indices */
#define STRIPE 0
#define layer 1
#define PLANE 2
/* special jbg_buf pointers (instead of NULL) */
#define SDE_DONE ((struct jbg_buf *) -1)
#define SDE_TODO ((struct jbg_buf *) 0)
/* object code version id */
c
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17982 1995-05-29 07:10 jbig\copying.txt
文件 94821 2004-10-11 06:57 jbig\jbig.c
文件 34984 2004-06-10 20:53 jbig\jbig.doc
文件 4915 2012-01-12 14:23 jbig\jbig.dsp
文件 531 2002-08-20 07:08 jbig\jbig.dsw
文件 11222 2004-06-11 14:18 jbig\jbig.h
文件 50176 2012-01-12 14:23 jbig\jbig.ncb
文件 53760 2012-01-12 14:23 jbig\jbig.opt
文件 918 2012-01-12 14:22 jbig\jbig.plg
文件 312 2012-01-12 14:23 jbig\jbig.positions
文件 17288 2011-01-01 01:27 jbig\jbig.vcproj
文件 7033 2011-02-05 06:57 jbig\jbig.vcxproj
文件 26014 2000-04-08 11:15 jbig\jbig_tab.c
文件 3244 2006-04-04 01:46 jbig\jbig_wince.sln
文件 16182 2006-04-01 02:13 jbig\jbig_wince.vcproj
文件 678 2004-06-08 14:40 jbig\Makefile
文件 10123 2002-08-21 19:29 jbig\patents.htm
文件 15446 2004-06-11 14:17 jbig\tstcodec.c
目录 0 2012-01-13 00:11 jbig
----------- --------- ---------- ----- ----
365629 19
- 上一篇:1588 时钟同步原理
- 下一篇:声速测量习题及数据处理
相关资源
- 遥感图像几何校正模型探讨
- 图像的小波包分解
- 图像二维小波变换的实现源代码
- 介绍几种压缩算法及《笨笨数据压缩
- 图像二值化
- [免费]图像识别c 源码
- 三维重建(旋转)由已知对应图像点
- jcrop v0.9.12
- 冈萨雷斯 数字图像处理 源代码(m文
- qt图像处理
- 基于OpenCV的数字识别468815
- 使用opencv去掉二值化图像中黑色面积
- Delphi实现图像拖动,无延时。
- 很好的一个小波变换图像压缩程序
- 血液图像处理—细胞识别
- 三维地形的仿真显示实现了对地图的
- DICOM图像读取以及窗宽,窗位调整
- 图像缩放(MFC)有详细的实现过程
- 基于Gabor滤波器的图像纹理特征提取
- 图像的小波变换/图像的融合、复原、
- VC数字图像处理课程设计
- 图像描述代码下载(里面是有代码的
- 利用小波变换对图像进行分解与重构
- lzw压缩,解压缩算法
- 哈夫曼压缩算法(源代码 实现报告)
- Macromedia Fireworks V8.0 简体中文版
- jpeg图像压缩实例代码
- 图像处理作业C 源代码
- lz4压缩解压工具x64和x86
- 基于纹理的图像检索源代码
评论
共有 条评论