没有合适的资源?快使用搜索试试~ 我知道了~
首页the-data-compression-book
the-data-compression-book
需积分: 10 51 下载量 139 浏览量
更新于2023-03-03
评论 1
收藏 1.65MB PDF 举报
the-data-compression-book.9781558514348.26425.pdf<br>gzip作者写的一本数据压缩教程,全书以GZip的设计为主线,献给学习数据压缩的朋友们.
资源详情
资源评论
资源推荐
Afterword
W
hen writing about data compression, I am haunted by the idea that many of the techniques
d
iscussed in this book have been patented by their inventors or others. The knowledge that a data
c
ompression algorithm can effectively be taken out of the hands of programmers through the use of
s
o-called “intellectual property” law seems contrary to the basic principles that led me and many
o
thers into this profession.
I
have yet to see any evidence that applying patents to software advances that art or protects the
r
ights of inventors. Several companies continue to collect royalties on patents long after their
i
nventors have moved onto bigger and better thing with other companies. Have the patent-holders
d
one anything notable other than collect royalties? Have they advanced the art of computer science
?
M
aking a software product into a commercial success requires innovation, good design, high-qualit
y
d
ocumentation, and listening to customers. These are things that nobody can steal from you. On the
o
ther hand, a mountain of patents can’t keep you from letting these things slip away through
i
nattention or complacency. This lesson seems to be lost on those who traffic in intellectual propert
y
“
portfolios.”
W
hat can you do? First, don’t patent your own work, and discourage your peers from doing so.
W
ork on improving your products, not erecting legal obstacles to competition. Secondly, lobby for
c
hange. This means change within your company, those you do business with, and most importantl
y,
w
ithin the federal government. Write to your congressman and your senator. Write to the ACM.
W
rite to the House Subcommittee on Intellectual Property. And finally, you can join me by
b
ecoming a member of the League for Programming Freedom. Write for more information:
League For Programming Freedom
1 Kendall Square #143
P.O. Box 9171
Cambridge, MA 02139
I concluded, we kinotropists must be numbered among Britain's most adept programmers of
E
nginery of any sort, and virtually all advances on the compression of data have originated as
k
inotropic applications.
A
t this point, he interrupted again, asking if I had indeed said "the compression of data," and was I
f
amiliar with the term "algorithmic compression"? I assured him I was.
The Difference Engi
ne
William Gibson and Bruce Sterlin
g
W
hy This Book Is For You
I
f you want to learn how programs like PKZIP and LHarc work, this book is for you. The
c
ompression techniques used in these programs are described in detail, accompanied by working
c
ode. After reading this book, even the novice C programmer will be able to write a complete
c
ompression/archiving program that can be ported to virtually any operating system or hardware
p
latform.
I
f you want to include data compression in other programs you write, this book will become an
i
nvaluable tool. It contains dozens of working programs with C code that can easily be added to you
r
a
pplications. In-depth discussions of various compression methods will help you make intelligent
d
ecisions when creating programs that use data compression.
I
f you want to learn why lossy compression of graphics is the key factor in enabling the multimedia
r
evolution, you need this book. DCT-based compression like that used by the JPEG algorithm is
d
escribed in detail. The cutting edge technology of fractal compression is explained in useful terms
,
i
nstead of the purly theoretical. Working programs let you experiment with these fascinating new
t
echnologies.
T
he Data Compression Book provides you with a comprehensive reference to this important field.
N
o other book available has the detailed description of compression algorithms or working C
i
mplementations for those algorithms. If you are planning to work in this field, The Data
C
ompression Book is indispensable.
(
Imprint: M & T Books)
(
Publisher: IDG Books Worldwide, Inc.)
A
uthor: Mark Nelson
I
SBN: 1558514341
Afterword
Why This Book Is For You
Chapter 1—Introduction to Data Compression
The Audience
Why C?
Which C?
Issues in Writing Portable C
Keeping Score
The Structure
Chapter 2—The Data-Compression Lexicon, with a History
The Two Kingdoms
Data Compression = Modeling + Coding
The Dawn Age
Coding
An Improvement
Modeling
Statistical Modeling
Dictionary Schemes
Ziv and Lempel
LZ77
LZ78
Lossy Compression
Programs to Know
Chapter 3—The Dawn Age: Minimum Redundancy Coding
The Shannon-Fano Algorithm
The Huffman Algorithm
Huffman in C
BITIO.C
A Reminder about Prototypes
MAIN-C.C AND MAIN-E.C
MAIN-C.C
ERRHAND.C
Into the Huffman Code
Counting the Symbols
Saving the Counts
Building the Tree
Using the Tree
The Compression Code
Putting It All Together
Performance
Chapter 4—A Significant Improvement: Adaptive Huffman Coding
Adaptive Coding
Updating the Huffman Tree
What Swapping Does
The Algorithm
An Enhancement
The Escape Code
The Overflow Problem
A Rescaling Bonus
The Code
Initialization of the Array
The Compress Main Program
The Expand Main Program
Encoding the Symbol
Updating the Tree
Decoding the Symbol
The Code
Chapter 5—Huffman One Better: Arithmetic Coding
Difficulties
Arithmetic Coding: A Step Forward
Practical Matters
A Complication
Decoding
Where’s the Beef?
The Code
The Compression Program
The Expansion Program
Initializing the Model
Reading the Model
Initializing the Encoder
The Encoding Process
Flushing the Encoder
The Decoding Process
Summary
Code
Chapter 6—Statistical Modeling
Higher-Order Modeling
Finite Context Modeling
Adaptive Modeling
A Simple Example
Using the Escape Code as a Fallback
Improvements
Highest-Order Modeling
Updating the Model
Escape Probabilities
Scoreboarding
Data Structures
The Finishing Touches: Tables –1 and –2
Model Flushing
Implementation
Conclusions
Enhancement
ARITH-N Listing
Chapter 7—Dictionary-Based Compression
An Example
剩余369页未读,继续阅读
ericchn007
- 粉丝: 25
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0