WaveCode
copyright (c) 1998 by Charles Bloom
v1.0 released May 23, 1998
-----------------------------------------------------------------------
Introduction
version 1.0 does nothing revolutionary ; it's our
initial implementation. The advantage of WaveCode over
existing transform coders is its modularity. Choose
from many transforms :
Wavelet [Daubechies 7/9] (no flag)
DCT (tree structures) (-d)
S + Prediction (-s)
And many coders : (use -c#) :
Bitplane (simplified EZW)
Significance Map
Significance Map 2
Order 1
Order 0
Vector Quantizing
Fractal -style VQ
The Bitplane Coder with Wavelet Transform performance
roughly identically to SPIHT (Said & Pearlman's Improved EZW).
We also allow any choice of # of wavelet levels (-l# option),
and with more levels (SPIHT uses l=3) we get even better
performance.
Our coders and transforms are quite competitive. Our
quantizers are very poor in v1.0, offering as a best option
uniform quantization. We also have no bit allocation handling.
Perhaps the nicest thing in WaveCode are the (-w) write options,
with which you can output a raw image of the wavelet (or DCT,
or S+P) data, a map of the errors, as well as the standard
reconstructed image. So far as I know this is the first time
anyone has really *looked* at DCT data (in tree structured form
where you can make sense of it visually) and let me tell you,
it is a beautiful sight. When comparing DCT and Wavelet be sure
to use (-l3) on the wavelets, because using more levels (4 is default)
gives the wavelets an unfair advantage.
-----------------------------------------------------------------------
Some Details
All images input and output are raw byteplanes. Adobe Photoshop, for
example, is convenient for viewing and converting raw images.
The "coder_param" is used in the following way by the coder modules :
VQ : sets maximum allowed MSE in a fuzzy match.
other : ignored
The "tune_param" is for my use only. :^)
If anyone has efficient code for a 23/25 wavelet transform, I'd love to
get my hands on it.
-----------------------------------------------------------------------
Acknowledgements:
The DCT code is stolen from the IJG (Indepedent JPEG Group) distribution.
The Floating (DWT) Wavelet Transform is stolen from Robert Estes.
All other code is original.
Thanks to the many people on comp.compression who have helped me get
into image coding. Among them are Tom Lane, Michael Schindler,
Matt Timmermans, Jim Andrew, Peter Lindstrom, Andrew Watson, and
many I'm sure I'm forgetting.
-----------------------------------------------------------------------
Apologies:
I've committed the cardinal sin of introducing yet another
imperfect Wavelet coder into the mix. I know, I'm sorry,
there are *no* practical wavelet coders (the way IJG JPEG is
practical) and this code is not it either. Other nice code
available on the net is Geoff Davis's package : we implement
here some of the todos on GD's list, but our quantizers and
(lack of) bit allocation makes it a trade-off ; perhaps my time
would have been better spent adding his code... Robert Estes'
code is also nice because of its simplicity and readability.
All other wavelet code I've found is either baroque (LiftPack)
or full of Fortran (EPIC/EPWIC) or not ANSI (wavelet_tutorial).
Anyway, I apologize for contributing to this mix - if the trend
holds up, soon everyone in America will be writing their own
wavelet compressor, but they'll all be imperfect, and we'll
still be using JPEG to send images !
没有合适的资源?快使用搜索试试~ 我知道了~
小波变换C代码(wavelet transform code)
共77个文件
c:47个
h:19个
txt:6个
5星 · 超过95%的资源 需积分: 10 338 下载量 46 浏览量
2009-05-07
14:52:43
上传
评论 5
收藏 118KB RAR 举报
温馨提示
小波理论没有学习好,照样可以用好小波. 有harr小波的入门级代码,1D,2D,3D等等
资源推荐
资源详情
资源评论
收起资源包目录
wavelet transform code.rar (77个子文件)
wavelet transform code
main.c 15KB
wtlib
f97.c 4KB
coder_o2.c 7KB
dct.h 440B
coder_bpbf_zt.c 7KB
coder_none.c 2KB
cdf24.c 3KB
f97.h 203B
coder_bp_zt.c 12KB
bcw3.h 196B
wpacket.c 5KB
dwt.c 4KB
image.h 3KB
d4.h 189B
coder_bpb.c 15KB
subbands.c 24KB
coder_bpb2.c 9KB
quantim.h 2KB
codezt.c 8KB
reports
results.txt 6KB
todo.txt 872B
yuv_vs_quant.txt 2KB
beam1_report.txt 707B
readme.txt 4KB
quantizers.txt 4KB
coder.c 10KB
cdf22.c 4KB
bcw3.c 4KB
coder_sh_o1.c 10KB
coder_bp.c 4KB
b97.h 203B
coder_sm.c 5KB
idct.c 5KB
coder_bitplane.c 5KB
coder_vq.c 14KB
spt.c 5KB
coder_sh_o1sb.c 12KB
codeimage.h 2KB
dwt.c.bak 4KB
dwt.h 148B
coder_frac.c 12KB
cdf22.h 199B
quantim.c 6KB
msm.bat 1KB
fdct.c 5KB
QUANTUTIL.H 2KB
coder_o1.c 4KB
l97.h 203B
coder.h 4KB
codezt.h 601B
spt.h 200B
coder_sm_o0.c 3KB
quantutil.c 30KB
subbands.h 2KB
coder_bp_zt2.c 14KB
coder_o0.c 2KB
quantuil.c 0B
codeR_o1_sb.c 7KB
coder_o1p1.c 6KB
coder_nop.c 8KB
d4.c 4KB
coder_zf.c 8KB
b97.c 5KB
dist.bat 227B
haar.h 184B
haar.c 1KB
mwt.bat 41B
codeimage.c 13KB
wpacket.h 222B
image.c 26KB
m.bat 906B
coder_bpbf.c 5KB
l97.c 5KB
coder_bp_sorted.c 6KB
cdf24.h 129B
haar2.c 5KB
coder_sm_b.c 6KB
共 77 条
- 1
bobjoehill
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 海尔H42E10 6i981BTA DH1PY600000 MBOOT usb.bin 程序.zip
- 网盘的功能实现之数据库搭建笔记
- 软件工程与软件测试阶段作业三.doc
- 软件工程中的人工智能辅助设计研究.pptx
- 海尔智能电视刷机数据 H42E07 机编DH1QR000H07 务必确认机编一致 强制刷机 整机USB升级主程序
- 4444444444444444444
- 基于PHP实现响应式创业园区管委会网站.zip
- 安卓手机用作电脑网络摄像头的工具文件
- 海尔智能电视刷机数据 H32E10 机编DH1QX000805 务必确认机编一致 强制刷机 整机USB升级主程序
- ComfyUI AI老照片修复上色工作流
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页