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

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:

[Com Portserial-matlab

Description: 一个带gui界面的matlab串口通信演示程序-a gui interface with the serial communication Matlab demo program
Platform: | Size: 9797 | Author: | Hits:

[Graph programMatlab snakes demo

Description: 主动轮廓模型,即snake算法的demo-active contour models, snake algorithm demo
Platform: | Size: 3072 | Author: 秦晓芳 | Hits:

[Communicationfm.m

Description: %fm.m %频率调制的Matlab演示程序. %被调信号为m(t)=sin(100t).- fm.m frequency modulation of Matlab demo program. transferred signal m (t) = sin (100t).
Platform: | Size: 1024 | Author: 陈旭 | Hits:

[matlabdemo_turbo

Description: 这是turbo编码的matlab演示程序,可以在各种matlab版本中运行,大家试试吧-This is the turbo coding Matlab demo program, in various versions of Matlab run, we try it
Platform: | Size: 19456 | Author: 范范 | Hits:

[Com Portserial-matlab

Description: 一个带gui界面的matlab串口通信演示程序-a gui interface with the serial communication Matlab demo program
Platform: | Size: 9216 | Author: | Hits:

[matlabmatlab - Kalman

Description: 卡尔曼滤波matlab工具箱,还有demo-Kalman filter matlab toolbox with demo
Platform: | Size: 14336 | Author: | Hits:

[GUI Developsvm_toolbox

Description: 支持向量机工具箱,其中包含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.).
Platform: | Size: 247808 | Author: 王晓 | Hits:

[Special Effects图像位层显示demo

Description: 256灰度图像的位图二值化matlab程序 在经典图像教材中均有提及,现在用matlab来思想演示-to display the bitmap ,use the matlab method
Platform: | Size: 49152 | Author: 周贤 | Hits:

[matlab演示程序一维搜索

Description: 对二杆桁架静力分析,一维搜索的matlab演示程序。-of two truss static analysis, one-dimensional search Matlab demo program.
Platform: | Size: 17408 | Author: www | Hits:

[OtherART_NN

Description: 为了介绍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.
Platform: | Size: 79872 | Author: 东方云 | Hits:

[Special Effectsdemo_svm

Description: 该程序为一个基于支持相量机的图形图形处理的matlab 演示程序-the procedures for an equivalent amount based on support for the graphic graphics processing the Matlab demo program
Platform: | Size: 5120 | Author: 安飞 | Hits:

[Special Effectscopap

Description: 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
Platform: | Size: 36864 | Author: Zhenhua | Hits:

[Otherpolar-matlab

Description: matlab图形界面演示程序,适合初学,matlab GUI编程的朋友-Matlab GUI demo program, suitable for beginners, Matlab GUI Programming friends
Platform: | Size: 5120 | Author: 朱剑兵 | Hits:

[matlabsvm-demo

Description: 关于支持向量机的一种较快速的计算方法,可以提高其计算速度,SVM-demo算法.-on support vector machines a more rapid method of calculation can improve their speed, SVM-demo algorithm.
Platform: | Size: 5120 | Author: 醉心于 | Hits:

[Special Effectscomplex_filter_pfile

Description: 指纹core点检测程序3(complex_filter), matlab demo code-fingerprint detection procedures core 3 (complex_filter) Matlab demo code
Platform: | Size: 250880 | Author: lulibin | Hits:

[matlabdemo

Description: 在matlab环境下,用最邻近数据关联算法实现目标跟踪。-the Matlab environment, using the most neighboring data association algorithm to achieve the target track.
Platform: | Size: 20480 | Author: camperlinan | Hits:

[AI-NN-PRNeural_Network_Design

Description: 《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.
Platform: | Size: 557056 | Author: 李述清 | Hits:

[OtherMATLAB-DEMO-CODE

Description: matlab demo code .. .. -matlab demo code .. .. .. ..
Platform: | Size: 8192 | Author: 70000 | Hits:

[Special EffectsMatlab Demo

Description: MATLAB软件编写的读取stl格式文件的数据,并对其进行处理。(The MATLAB software reads the data of the STL format file and handles it.)
Platform: | Size: 3072 | Author: 輕尘 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 45 »

CodeBus www.codebus.net