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


Update : 2008-07-07 Size : 227.42kb Publisher : 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.
Update : 2025-02-19 Size : 51kb 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 : 夏雨雪

实现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 : 陈语恬

%本程序功能是计算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 :

DL : 0

Update : 2025-02-19 Size : 3kb Publisher :

求图像峰值信噪比,可以用于图像质量的评估。-Peak signal to noise ratio for images that can be used for image quality assessment.
Update : 2025-02-19 Size : 1kb Publisher : 刘坤

DL : 0
函数功能:本函数将完成对输入图像的峰值信噪比计算-Function: This function will be completed on the input image of the peak signal to noise ratio calculation
Update : 2025-02-19 Size : 1kb Publisher : rachel

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 : 张龙

图像处理功能:求the MSE/SNR/PSNR and the quantized image- the MSE/SNR/PSNR and the quantized image
Update : 2025-02-19 Size : 1kb Publisher : 员晓毅

两个图像质量评价函数,psnr峰值信噪比,正则均方误差nmse,能可用于去噪图像和压缩图像的质量评价,很有用啊。-Two image quality evaluation of the function. Including psnr PSNR, it is mean-square error nmse other. Images can be used for de-noising and compression of image quality evaluation.
Update : 2025-02-19 Size : 1kb Publisher : sanmu

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

本代码是基于Bandelet的硬阈值SAR图像去噪,结果与小波变换进行对比,结果表示其在峰值信噪比,边缘保持系数上均有一定的提高。压缩包中有程序和SAR图像。-This code is based on Bandelet SAR image denoising with a hard threshold .the results were compared with the wavelet transform, and the results indicated that in the peak signal to noise ratio(PSNR)and edge-preserving index(EPI), there is a certain on the increase. There are procedures and SAR images in this compression package.
Update : 2025-02-19 Size : 264kb Publisher : 周宇

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

本程序功能是计算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 : 陈增境

峰值信噪比在信号处理中经常用到,这是一个将原始图像和压缩图像的峰值信噪比进行比较的例子。-Peak signal to noise ratio is often used in signal processing, which is a the original image and compressed image peak signal to noise ratio compared examples.
Update : 2025-02-19 Size : 1kb Publisher : wangna

draw a plot of psnr vs bitrate
Update : 2025-02-19 Size : 1kb Publisher : sehar

用于求嵌入水印后图像的峰值信噪比PSNR以及提取水印信息的MATLAB程序-For seeking the watermarked image PSNR PSNR and watermark extraction procedure MATLAB
Update : 2025-02-19 Size : 1kb Publisher : 周芳燕
« 12 3 4 5 6 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.