Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Matlab N
Search - Matlab N - List

% 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));


Update : 2008-07-07 Size : 227.42kb Publisher : jasonchang

N元单向端射阵主瓣宽度随N变化得方向图matlab源代码
Update : 2011-06-12 Size : 1.94kb Publisher : anqideanqi

偏微分方程组N=4的龙格-库塔方法求解,matlab编程,试过可以
Update : 2012-07-22 Size : 1.29kb Publisher : 1264379564@qq.com

matlab 程序例子(利用matlab 求位平面)-Matlab procedures example (using Matlab for bit-plane)
Update : 2025-02-19 Size : 3kb Publisher : 黄天华

GAUSS-SEIDEL法的Matlab程序-A programm realizing GUASS-SEIDEL algorithm,written in Matlab.
Update : 2025-02-19 Size : 1kb Publisher : lll

这是一个拉格朗日插值法的matlab程序,适合学习数值模拟的同学学习下载。-This is a Lagrangian of Matlab interpolation procedures, numerical simulation study for students learning to download.
Update : 2025-02-19 Size : 2kb Publisher : tsibintsibin

matlab 数值计算 数据和源文件 -Matlab numerical data and source documents
Update : 2025-02-19 Size : 245kb Publisher : 肖恒辉

解国际象棋的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
Update : 2025-02-19 Size : 3.66mb Publisher : 吴俊杰

基于决策树的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
Update : 2025-02-19 Size : 230kb Publisher : hehuixin

DL : 0
把训练数据拷入,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
Update : 2025-02-19 Size : 1kb Publisher : LULU

DL : 0
卷积运算:取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
Update : 2025-02-19 Size : 1kb Publisher : 1

DL : 0
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
Update : 2025-02-19 Size : 169kb Publisher : doris

DL : 0
控制流语句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
Update : 2025-02-19 Size : 3kb Publisher : 王斌斌

matlab数值积分工具箱 nit toolbox-matlab numerical integration toolbox nit toolbox
Update : 2025-02-19 Size : 21kb Publisher : 浪花

解n元非线性方程组的拟牛顿法的MATLAB程序-Solution of n-systems of nonlinear equations of quasi-Newton method of the MATLAB program
Update : 2025-02-19 Size : 3kb Publisher : 冰冰

DL : 0
The normalized cross correlation (NCC) implemented in C++ and Matlab
Update : 2025-02-19 Size : 569kb Publisher : lusmar

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.)
Update : 2025-02-19 Size : 754kb Publisher : mehmet

一种简单的灰色预测实现的方法,data为需要输入的一维数组,N为需要预测的值的个数-Gm(1,1) matlab code ,input array data,input number N return array with N prediction value.
Update : 2025-02-19 Size : 1kb Publisher : 林瑞蓝

MATLAB N个实用技巧 精华总结,学习、加深MATLAB的好资料-MATLAB N practical skills essence summary
Update : 2025-02-19 Size : 3.01mb Publisher : 陈桂梅

MATLAB基本语法、数据图形处理、仿真、混合编程使用技巧(Practical skills of matlab)
Update : 2025-02-19 Size : 3.11mb Publisher : 卖煎饼
« 12 3 4 5 6 7 8 9 10 ... 50 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.