資源簡介
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 時鐘同步原理
- 下一篇:聲速測量習題及數據處理
評論
共有 條評論