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


Date : 2008-07-07 Size : 227.42kb User : jasonchang

视频处理中最重要的指标:PSNR(峰值信噪比)。本人写的一个小程序,用于测试图象中的Y、U、V分量的PSNR值。-PSNR is a very important index in video disposal. there are a little program . It tests the PSNR of the YUV in the image.
Date : 2025-07-02 Size : 51kb User : 天天

测量视频文件信噪比的文件,对于研究视频压缩很有作用,可以进行压缩质量检验-The file of surveying SNR with video frequency file,more effect with study video compress,can test quality of compress.
Date : 2025-07-02 Size : 25kb User : 王宁

PSNR of YUV videos - matlab-PSNR of YUV videos-Matlab
Date : 2025-07-02 Size : 2kb User : 廖智茗

计算图像峰值信噪比psnr的matlab源程序,相对路径转绝对路径的matlab程序-computing image PSNR psnr the Matlab source, relative to the absolute path of Matlab procedures
Date : 2025-07-02 Size : 1kb User : 夏雨雪

Arnold图像置乱Matlab代码 %% -------------------------------------------------------------------- %% % Function: Arnold图像置乱 % Arnold: x =(x+y) mod N, y =(x+2y) mod N % 变换周期(N,M): (128,96),(256,192),(512,384) % Argument: dPSNR: 置乱后PSNR % outImg: 置乱后输出图像 % inImg: 输入图像 % iTimes: 置乱次数 % Version: 1.01.20070409 %% -------------------------------------------------------------------- -Arnold image scrambling Matlab code----------%%---------------------------- %%% Function : Arnold image scrambling% Arnold : x = (x y) mod N, y = (x 2y) mod N% transform cycle (N, M) : (128,96), (256,192), (512,384)% Argument : dPSNR : Scrambling after PSNR% outImg : Scrambling% of the output image inImg : input image% iTimes : Scrambling frequency% Version : 1.01.20070409-------------------------%%----------------------------------------
Date : 2025-07-02 Size : 1kb User : kuhasu

DL : 1
图像中值滤波,利用中值滤波和低通滤波进行比较,分析PSNR,得出性能差别-image filtering, using median filter and a low-pass filter, PSNR analysis, the performance differences come
Date : 2025-07-02 Size : 29kb User : ricky

DL : 0
对图像进行二维离散小波变换, 变换级数大于等于3级, 并进行重构, 最后计算重构图像的峰值信噪比(PSNR).-images of two-dimensional discrete wavelet transform, transform Series is greater than or equal to 3, and reconstruction, Image Reconstruction final calculation of the peak signal-to-noise ratio (PSNR).
Date : 2025-07-02 Size : 2kb User : 廖鑫鹏

实现PSNR的MATLAB代码,功能是比较两图象的峰峰值。-achieve PSNR MATLAB code is more functional image of the two-peak.
Date : 2025-07-02 Size : 810kb User :

%本程序功能是计算2幅彩色图像的PSNR,以此来评价图像处理的效果%%%%%%%%% % 运行的结果保存在变量PSNR中- This program features the calculation of two color images of the PSNR, in order to evaluate the effect of image processing the results of running stored in variables in PSNR
Date : 2025-07-02 Size : 1kb User :

计算PSNR值,一个不错的算法,值得看一下-Calculation of PSNR value, a good algorithm, it is worth a look
Date : 2025-07-02 Size : 2kb User : 王宏伟

计算两幅图像的psnr值,非常精确完整,绝对好用-Calculation of two images of the PSNR values, integrity and very precise, the absolute ease of use
Date : 2025-07-02 Size : 1kb User :

DL : 0
图像处理,图像的峰值信噪比PSNR,matlab代码例程,验证可用-Image processing, image the peak signal to noise ratio PSNR, matlab code routines can be used to verify
Date : 2025-07-02 Size : 1kb User : 陈阳

用MATLAB读取一幅图像,并且计算其图像信噪比-Using MATLAB to read an image and calculate the image SNR
Date : 2025-07-02 Size : 1kb User : 张龙

DL : 0
A code downlaoded directly of Matlab Forum to calculate the PSNR between two images
Date : 2025-07-02 Size : 2kb User : joshesc

求数字图像处理后的评价参数(SNR)信噪比,matlab原程序!-After the digital image processing for the evaluation parameters (SNR) signal to noise ratio, matlab original program!
Date : 2025-07-02 Size : 1kb User : 胡晓明

直接测试图像PSNR的程序,只需要输入图像即可-a program aim to test the Psnr of processed image directly
Date : 2025-07-02 Size : 2kb User : Yang

DL : 0
a smart code to calculate PSNR of two color images.
Date : 2025-07-02 Size : 431kb User :

DL : 0
计算噪声图像的信噪比,matlab算法程序-Calculate the noise image signal to noise ratio, matlab algorithm program
Date : 2025-07-02 Size : 100kb User : liu

DL : 0
对图像进行处理后常需要计算图像的PSNR值和NC值-calculate the PSNR and NC of pictures
Date : 2025-07-02 Size : 1kb User : 李星蕊
« 12 3 4 5 6 7 8 9 10 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.