DTCWT

所属分类:图形图像处理
开发工具:matlab
文件大小:1452KB
下载次数:92
上传日期:2012-06-20 17:15:35
上 传 者cdjj007
说明:  dtcwt 双树复小波的matlab工具箱,
(dtcwt dual tree complex wavelet Matlab toolbox,)

Kingsbury's DT-CWT code (translated from Matlab to C/C++ code) original Matlab code by Nick Kingsbury, Univ. of Cambridge, UK C/C++ translation by Peter Meerwald, Univ. of Salzburg, Austria http://www.cosy.sbg.ac.at/~pmeerw pmeerw@cosy.sbg.ac.at dtcwt.h is the main (and only) include file, dtcwt() is probably the only interesting function to call void dtcwt(double **y, double **x, int n, int m, int level, int unitdcgain); y .. output array of size 2*n x 2*m x .. input array of size n x m level .. forward decomposition (analysis) steps (l > 0) inverse synthesis steps (l < 0) if set (unitdcgain = 1), we use a different normalising factor (which has unit dc gain) rather than the default energy conserving transform dtcwt() can throw exceptions, so use it in a try block try { dtcwt(...); } catch (const char *msg) { cerr << msg << endl; } 3-level decomposition of 8-bit 512x512 Lena takes approx. 1.5 sec on my Intel Pentium-II 400 Mhz; note that the code in dtcwt() can be easily optimized and uses way to many memory copy/allocation operations version 0.1: initial versin

近期下载者

相关文件


收藏者