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

两个常用的数字水印评价函数:信躁比比(SNR)和峰值信躁比(PSNR)-two commonly used digital watermarking evaluation function : Oh habibi letter (SNR) and peak letter impatient than (PSNR)
Update : 2025-02-19 Size : 1kb Publisher : 东东

视频处理中最重要的指标: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.
Update : 2025-02-19 Size : 51kb Publisher : 天天

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

PSNR of YUV videos - matlab-PSNR of YUV videos-Matlab
Update : 2025-02-19 Size : 2kb Publisher : 廖智茗

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

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

图象的直方图处理及全尺度变换和各种性能指标的计算,如psnr,mse等-image histogram processing and full scale transformation and various performance indicators, such as psnr, mse etc.
Update : 2025-02-19 Size : 173kb Publisher : 高颖

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

DL : 0
This program compress and recostruct using wavelets. We can select level of decomposition(here maximum 4 levels are given) of images using selected wavelet. For eg:-wavelets can be haar, db1, db2,dmey............... Decomposition can be viewed in figure. (Please note that select 256X256 image for better result.) Then compression can performed, PERFL2 give compression score. Then reconstruction can be performed. Each decompsition we can choose different threshold values. For each threshold value we can calculate mse,psnr,pq(picture quality), bit ratio etc. To get pq install pqs function . -This program compress and recostruct using wavelets. We can select level of decomposition (here maximum 4 levels are given) of images using selected wavelet.For eg:-wavelets can be haar, db1, db2, dmey ........ ....... Decomposition can be viewed in figure. (Please note that select 256X256 image for better result.) Then compression can performed, PERFL2 give compression score.Then reconstruction can be performed.Each decompsition we can choose different threshold values . For each threshold value we can calculate mse, psnr, pq (picture quality), bit ratio etc. To get pq install pqs function.
Update : 2025-02-19 Size : 3kb Publisher : 陈语恬

求图像峰值信噪比PSNR的代码matlab版-PSNR PSNR for the image code matlab version
Update : 2025-02-19 Size : 3kb Publisher : 远志

%本程序功能是计算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
Update : 2025-02-19 Size : 1kb Publisher :

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

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

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

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

calculate PSNR between frame to frame in one video sequence
Update : 2025-02-19 Size : 10kb Publisher : dragonslaver

本程序功能是计算2幅彩色图像的PSNR,以此来评价图像处理的效果-This program features the calculation of two color images of the PSNR, in order to assess the effect of image processing
Update : 2025-02-19 Size : 2kb Publisher : 陈增境

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

DL : 0
所上传的文件时为了在MATLAB中求PSNR、归一化相关系数NC的值-have PSNR, NC values In MATLAB
Update : 2025-02-19 Size : 3kb Publisher : amue
« 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.