资源简介
基于DSP的小波变换C语言程序源代码 离散余弦变换
很好的东东!~

代码片段和文件信息
/******
todos :
. lots of <> marks scattered around in the many modules
. at “stop“ functionality to ZT coders by including a “stop_subband“
and setting the ZT “bottom“ flag in that subband.
This would be something like the !propZTs of golfz
. lifting transform
. quantizers.c is poorly estimating distortion & entropy
chooseQuantizers needs lots of work
(stopAtQuantizer makes this a low-priority problem)
. DCT works great with uniform quantizers but wavelets (especially the S+P)
are killed by large quantization of the top LL band
. my old adaptive quantizers idea
. the ultimate goal is for the encoders to have tune-able parameters
that are optimized *per band* (such as context sizes). The
sever form of this is to actually choose different coders for
different bands but that is more tricky because it is critical
that coders are given passes to adapt; (this could be done by
manually conditioning the new coder each time there‘s a change
but that would be slow for the decoder)
*********/
//#define LL_WAVE_CNTX
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define readImageFile readImageFileBytes
#define writeImageFile writeImageFileBytes
#define dataBytes 1
/** some globals set by the mainline for reference by the coders ;
/*** the various coder templates available : ***/
extern int tune_param;
const static int default_lossless_coder = 11; // an order-1
int main(int argcchar *argv[])
{
image *im=NULL*save=NULL*im_work=NULL; // allocs
wavelet *wavelet = NULL;
char *sourceName;
int iqtypeqflags;
int complenstop_comp_len;
int widthheightplanesll_widthll_height;
int levelscoderNlosslessNtransformN;
double quantizerstop_comp_rate;
bool writeWavewriteDecdoLosslesswriteDeltasdoQuantdoYUVinterleaveddo_pauseoldSchoolwavePacket;
int autotune_minautotune_maxautotune_step;
const coder * coder_template;
double forw_timeenc_timedec_timeinv_time;
errputs(“WaveCoder v1.7 (c) 1998 by cBloom“);
if ( argc < 4 ) {
errputs(“wavecoder : tree-structured transforms and coders“);
errputs(“usage: wt -[flag] ...“);
errputs(“flags:“);
errputs(“ o : old Skool yo no subband waveletpackets“);
errputs(“ c# : choose coder #“);
errputs(“ l# : choose # of levels (default 4)“);
errputs(“ p# : set # of planes > 1“);
errputs(“ x# : set tune param“);
errputs(“ a### : auto-tune param “);
errputs(“ s# : stop at bitrate #“);
errputs(“ y : do YUV (also sets planes to 3)“);
errputs(“ i : interleaved multi-planes“);
errputs(“ ll : code
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 25046 2003-04-30 08:28 wtlib\subbands.c
文件 6107 2003-04-30 08:13 wtlib\coder_bp_sorted.c
文件 15491 2003-04-30 08:13 wtlib\coder_bpb.c
文件 8886 1998-10-10 18:14 wtlib\coder_bpb2.c
文件 8034 1998-10-10 18:14 wtlib\coder_nop.c
文件 4703 2003-04-30 08:29 wtlib\wpacket.c
文件 4106 1998-10-10 18:14 wtlib\cdf22.c
文件 3000 2003-04-30 08:11 wtlib\cdf24.c
文件 4601 1998-10-10 18:14 wtlib\bcw3.c
文件 4360 1998-10-10 18:14 wtlib\d4.c
文件 5014 1998-10-10 18:14 wtlib\b97.c
文件 4469 2003-04-30 08:20 wtlib\f97.c
文件 5129 1998-10-10 18:14 wtlib\l97.c
文件 5279 2003-04-30 08:08 wtlib\spt.c
文件 30560 2003-04-30 08:27 wtlib\quantutil.c
文件 0 1998-10-10 18:14 wtlib\quantuil.c
文件 5872 2003-04-30 08:24 wtlib\quantim.c
文件 26413 2003-04-30 08:24 wtlib\image.c
文件 4745 1998-10-10 18:14 wtlib\idct.c
文件 4898 1998-10-10 18:14 wtlib\haar2.c
文件 1514 1998-10-10 18:14 wtlib\haar.c
文件 4907 1998-10-10 18:14 wtlib\fdct.c
文件 4162 1998-10-10 18:14 wtlib\dwt.c
文件 8686 2003-04-30 08:23 wtlib\codezt.c
文件 3539 2003-04-30 08:04 wtlib\wt_codeutil.c
文件 3770 2003-04-30 08:15 wtlib\coder_o1.c
文件 6856 1998-10-10 18:14 wtlib\coder_bpbf_zt.c
文件 14647 1998-10-10 18:14 wtlib\coder_bp_zt2.c
文件 5586 2003-04-30 08:12 wtlib\coder_bitplane.c
文件 10358 2003-04-30 08:23 wtlib\coder_sh_o1.c
文件 12232 1998-10-10 18:14 wtlib\coder_bp_zt.c
............此处省略40个文件信息
- 上一篇:多边形、矩形、线段、圆等绘制并修改平移、拖动顶点
- 下一篇:C++代码转换成C#工具
相关资源
- 操作系统c语言模拟文件管理系统844
- C语言开发实战宝典
- C++中头文件与源文件的作用详解
- C语言代码高亮html输出工具
- 猜数字游戏 c语言代码
- C语言课程设计
- 数字电位器C语言程序
- CCS FFT c语言算法
- 使用C语言编写的病房管理系统
- 通信过程中的RS编译码程序(c语言)
- 计算机二级C语言上机填空,改错,编
- 用回溯法解决八皇后问题C语言实现
- 简易教务管理系统c语言开发文档
- 操作系统课设 读写者问题 c语言实现
- 小波变换算法 c语言版
- C流程图生成器,用C语言代码 生成C语
- 3des加密算法C语言实现
- 简单的C语言点对点聊天程序
- 单片机c语言源程序(51定时器 八个按
- 个人日常财务管理系统(C语言)
- c语言电子商务系统
- 小甲鱼C语言课件 源代码
- 将图片转换为C语言数组的程序
- C语言实现的一个内存泄漏检测程序
- DES加密算法C语言实现
- LINUX下命令行界面的C语言细胞游戏
- 用单片机控制蜂鸣器播放旋律程序(
- 学校超市选址问题(数据结构C语言版
- 电子时钟 有C语言程序,PROTEUS仿真图
- 尚观培训linux许巍老师关于c语言的课
评论
共有 条评论