Welcome![Sign In][Sign Up]
Location:
Search - matlab n

Search list

[Compress-Decompress algrithmsSPIHT(Matlab).zip

Description:

% Matlab implementation of SPIHT (without Arithmatic coding stage)
%
% By Jing Tian, scuteejtian@hotmail.com

fprintf('-----------   Welcome to SPIHT Matlab Demo!   ----------------\n');

fprintf('-----------   Load Image   ----------------\n');
infilename = 'lena512.bmp';
outfilename = 'lena512_reconstruct.bmp';

Orig_I = double(imread(infilename));

rate = 1;

OrigSize = size(Orig_I, 1);
max_bits = floor(rate * OrigSize^2);
OutSize = OrigSize;
image_spiht = zeros(size(Orig_I));
[nRow, nColumn] = size(Orig_I);

fprintf('done!\n');
fprintf('-----------   Wavelet Decomposition   ----------------\n');
n = size(Orig_I,1);
n_log = log2(n);
level = n_log;
% wavelet decomposition level can be defined by users manually.
type = 'bior4.4';
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(type);

[I_W, S] = func_DWT(Orig_I, level, Lo_D, Hi_D);

fprintf('done!\n');

fprintf('-----------   Encoding   ----------------\n');
img_enc = func_SPIHT_Enc(I_W, max_bits, nRow*nColumn, level);  

fprintf('done!\n');
fprintf('-----------   Decoding   ----------------\n');
img_dec = func_SPIHT_Dec(img_enc);

fprintf('done!\n');
fprintf('-----------   Wavelet Reconstruction   ----------------\n');
img_spiht = func_InvDWT(img_dec, S, Lo_R, Hi_R, level);

fprintf('done!\n');
fprintf('-----------   PSNR analysis   ----------------\n');

imwrite(img_spiht, gray(256), outfilename, 'bmp');

Q = 255;
MSE = sum(sum((img_spiht-Orig_I).^2))/nRow / nColumn;
fprintf('The psnr performance is %.2f dB\n', 10*log10(Q*Q/MSE));


Platform: | Size: 232873 | Author: jasonchang | Hits:

[SourceCodeN元单向端射阵主瓣宽度随N变化得方向图

Description: N元单向端射阵主瓣宽度随N变化得方向图matlab源代码
Platform: | Size: 1989 | Author: anqideanqi | Hits:

[matlab偏微分方程组N=4的龙格-库塔方法求解

Description: 偏微分方程组N=4的龙格-库塔方法求解,matlab编程,试过可以
Platform: | Size: 1323 | Author: 1264379564@qq.com | Hits:

[matlabmatlab第n位平面

Description: matlab 程序例子(利用matlab 求位平面)-Matlab procedures example (using Matlab for bit-plane)
Platform: | Size: 3072 | Author: 黄天华 | Hits:

[Mathimatics-Numerical algorithmsSeidel

Description: GAUSS-SEIDEL法的Matlab程序-A programm realizing GUASS-SEIDEL algorithm,written in Matlab.
Platform: | Size: 1024 | Author: lll | Hits:

[Other用拉格朗日插值法依据N个已知数据点即使函数值

Description: 这是一个拉格朗日插值法的matlab程序,适合学习数值模拟的同学学习下载。-This is a Lagrangian of Matlab interpolation procedures, numerical simulation study for students learning to download.
Platform: | Size: 2048 | Author: tsibintsibin | Hits:

[Mathimatics-Numerical algorithmsncm

Description: matlab 数值计算 数据和源文件 -Matlab numerical data and source documents
Platform: | Size: 250880 | Author: 肖恒辉 | Hits:

[AI-NN-PRN-queen-Cplusplus

Description: 解国际象棋的N皇后问题的C++源代码,可用于大学计算机技术课程《算法分析》上机联系-Solutions International Chess Queen of the N C source code, University computer can be used for technical courses "algorithm analysis" on the plane link
Platform: | Size: 3833856 | Author: 吴俊杰 | Hits:

[AI-NN-PRcrossvalidate

Description: 基于决策树的n则交叉验证分类器 (决策树程序直接调用matlab中的) crossvalidate.m N则交叉验证程序,N可选 NDT.mat 含9个国际公认标准数据集,已做过标么处理,可直接使用 专业-n Based on Decision Tree is cross-validation classification (decision tree directly call the Matlab) cr ossvalidate.m N is cross-validation procedures, N optional NDT.mat with nine internationally recognized standard data sets, what has been done superscript, direct access to professional
Platform: | Size: 235520 | Author: hehuixin | Hits:

[OtherMATLAB

Description: 把训练数据拷入,load的*.m文件中, 文件中部load的*.m为测试数据 save 存盘的文件为测试数据的bp预测值, 该程序可以扩充n个输入,n个输出,很容易-it is copyed into the training data, load the document*. m, Central to the paper load*. m to save Inventory test data for the paper test data bp predictive value, The procedure can be expanded to import n, n output, it is easy
Platform: | Size: 1024 | Author: LULU | Hits:

[MPIMATLAB

Description: 卷积运算:取x(t)和h(t)的长度为nx,nh。平移量n=nh+nx-1,利用for和if语句实现倒序求和运算。外循环用一个for语句实现平移,通过在求和时取数组元素的顺序实现倒序求和-Convolution operation: take x (t) and h (t) of length nx, nh. Translational volume n = nh+ Nx-1, use for and if statements to achieve reverse summation operator. Outside the circle with a for statement to achieve translation, when taken in sum array elements to achieve reverse the order of summation
Platform: | Size: 1024 | Author: 1 | Hits:

[matlabMATLAB

Description: MATLAB 下的数字信号处理实现示例 附录一 信号、系统和系统响应 1、理想采样信号序列 (1)首先产生信号 x(n),0<=n<=50 -MATLAB under the realization of digital signal processing examples in Appendix 1 signal, systems and systems to respond to one, the ideal sampling signal sequence (1) First of all, have a signal x (n), 0
Platform: | Size: 173056 | Author: doris | Hits:

[matlabmatlab

Description: 控制流语句if-else-end,并且用学生成绩举例,创建Hilbert矩阵,n阶魔方矩阵,编写一个M函数文件-Control-flow statements if-else-end, and with student achievement, for example, create a Hilbert matrix, n-order magic square matrix, the preparation of an M function file
Platform: | Size: 3072 | Author: 王斌斌 | Hits:

[Mathimatics-Numerical algorithmsnit

Description: matlab数值积分工具箱 nit toolbox-matlab numerical integration toolbox nit toolbox
Platform: | Size: 21504 | Author: 浪花 | Hits:

[AlgorithmniNetwon

Description: 解n元非线性方程组的拟牛顿法的MATLAB程序-Solution of n-systems of nonlinear equations of quasi-Newton method of the MATLAB program
Platform: | Size: 3072 | Author: 冰冰 | Hits:

[2D Graphicncc

Description: The normalized cross correlation (NCC) implemented in C++ and Matlab
Platform: | Size: 582656 | Author: lusmar | Hits:

[matlabmatlab-windows

Description: MATLAB R14 Programı n License sunucusu üzerinden kurulumu: MATLAB programı nı n eski versiyonunu kaldı rı nı z. MATLAB 2 ş ekilde yüklenebilmektedir. A) Sadece istenen MATLAB bileş enlerinin yüklenmesi B) Tüm MATLAB bileş enlerinin yüklenmesi (Tüm bileş enler Harddisk sürücüde 1.5 GB yer kaplamaktadı r.) -MATLAB R14 Programı nı n License sunucusu üzerinden kurulumu: MATLAB programı nı n eski versiyonunu kaldı rı nı z. MATLAB 2 ş ekilde yüklenebilmektedir. A) Sadece istenen MATLAB bileş enlerinin yüklenmesi B) Tüm MATLAB bileş enlerinin yüklenmesi (Tüm bileş enler Harddisk sürücüde 1.5 GB yer kaplamaktadı r.)
Platform: | Size: 772096 | Author: mehmet | Hits:

[matlabGray_Model(MATLAB)

Description: 一种简单的灰色预测实现的方法,data为需要输入的一维数组,N为需要预测的值的个数-Gm(1,1) matlab code ,input array data,input number N return array with N prediction value.
Platform: | Size: 1024 | Author: 林瑞蓝 | Hits:

[OtherMATLAB-N-practical-skills

Description: MATLAB N个实用技巧 精华总结,学习、加深MATLAB的好资料-MATLAB N practical skills essence summary
Platform: | Size: 3160064 | Author: 陈桂梅 | Hits:

[BooksMATLAB+N个实用技巧

Description: MATLAB基本语法、数据图形处理、仿真、混合编程使用技巧(Practical skills of matlab)
Platform: | Size: 3264512 | Author: 卖煎饼 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net