Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - matlab demo
Search - matlab demo - 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

一个带gui界面的matlab串口通信演示程序-a gui interface with the serial communication Matlab demo program
Update : 2008-10-13 Size : 9.57kb Publisher :

主动轮廓模型,即snake算法的demo-active contour models, snake algorithm demo
Update : 2025-02-19 Size : 3kb Publisher : 秦晓芳

%fm.m %频率调制的Matlab演示程序. %被调信号为m(t)=sin(100t).- fm.m frequency modulation of Matlab demo program. transferred signal m (t) = sin (100t).
Update : 2025-02-19 Size : 1kb Publisher : 陈旭

DL : 0
这是turbo编码的matlab演示程序,可以在各种matlab版本中运行,大家试试吧-This is the turbo coding Matlab demo program, in various versions of Matlab run, we try it
Update : 2025-02-19 Size : 19kb Publisher : 范范

一个带gui界面的matlab串口通信演示程序-a gui interface with the serial communication Matlab demo program
Update : 2025-02-19 Size : 9kb Publisher :

卡尔曼滤波matlab工具箱,还有demo-Kalman filter matlab toolbox with demo
Update : 2025-02-19 Size : 14kb Publisher :

支持向量机工具箱,其中包含MATLAB演示程序和一些基本的函数(计算核函数的函数、支持向量机训练函数和参数选择交叉验证函数等)。-SVM Toolbox, which contains MATLAB demo programs and some of the basic functions (Calculation Kernel function, SVM training function and parameter selection cross-validation functions, etc.).
Update : 2025-02-19 Size : 242kb Publisher : 王晓

256灰度图像的位图二值化matlab程序 在经典图像教材中均有提及,现在用matlab来思想演示-to display the bitmap ,use the matlab method
Update : 2025-02-19 Size : 48kb Publisher : 周贤

对二杆桁架静力分析,一维搜索的matlab演示程序。-of two truss static analysis, one-dimensional search Matlab demo program.
Update : 2025-02-19 Size : 17kb Publisher : www

DL : 0
为了介绍ART网络具体工作过程,我们制作了Matlab演示程序。第一个程序利用newc()函数对网络进行自适应训练,修改权值并对样本进行分类判别;第二个则利用adapt()函数对预测信号进行跟踪训练,并得出训练值与目标值之间的差异。-ART network to introduce specific work process, we produced a Matlab demo program. No. 1 newc procedures for the use () function on the network adaptive training, as well as the right to amend the value of the samples Classification; The second is using adapt () function to predict signal tracking training. training and the value obtained with the difference between the target value.
Update : 2025-02-19 Size : 78kb Publisher : 东方云

该程序为一个基于支持相量机的图形图形处理的matlab 演示程序-the procedures for an equivalent amount based on support for the graphic graphics processing the Matlab demo program
Update : 2025-02-19 Size : 5kb Publisher : 安飞

Matlab demo code for the cyclic order preserving assignment problem with application to shape matching-Matlab demo code for the cyclic order prese rving assignment problem with application to s CPR matching
Update : 2025-02-19 Size : 36kb Publisher : Zhenhua

matlab图形界面演示程序,适合初学,matlab GUI编程的朋友-Matlab GUI demo program, suitable for beginners, Matlab GUI Programming friends
Update : 2025-02-19 Size : 5kb Publisher : 朱剑兵

DL : 0
关于支持向量机的一种较快速的计算方法,可以提高其计算速度,SVM-demo算法.-on support vector machines a more rapid method of calculation can improve their speed, SVM-demo algorithm.
Update : 2025-02-19 Size : 5kb Publisher : 醉心于

指纹core点检测程序3(complex_filter), matlab demo code-fingerprint detection procedures core 3 (complex_filter) Matlab demo code
Update : 2025-02-19 Size : 245kb Publisher : lulibin

DL : 0
在matlab环境下,用最邻近数据关联算法实现目标跟踪。-the Matlab environment, using the most neighboring data association algorithm to achieve the target track.
Update : 2025-02-19 Size : 20kb Publisher : camperlinan

《Neural Network Design》 Martin T. Hagan, Howard B. Demuth, Mark H. Beale 一书中相关matlab演示程序软件包。对于学习很有参考。- Neural Network Design Martin T. Hagan, Howard B. Demuth, Mark H. Beale, a book related to matlab demo program package. Good reference for the study.
Update : 2025-02-19 Size : 544kb Publisher : 李述清

matlab demo code .. .. -matlab demo code .. .. .. ..
Update : 2025-02-19 Size : 8kb Publisher : 70000

MATLAB软件编写的读取stl格式文件的数据,并对其进行处理。(The MATLAB software reads the data of the STL format file and handles it.)
Update : 2025-02-19 Size : 3kb Publisher : 輕尘
« 12 3 4 5 6 7 8 9 10 ... 45 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.