代码搜索:PSNR
找到约 336 项符合「PSNR」的源代码
代码结果 336
www.eeworm.com/read/198142/7949809
m psnr.m
function [psnr] = PSNR (A,B)
%
%function [psnr] = psnr (A,B)
%
%
mse = mserror(A,B) % MMSE
if (mse == 0)
psnr=Inf;
else
psnr = 10*log10(255^2/mse);
www.eeworm.com/read/297947/7984469
m psnr.m
function p = psnr(x,y, vmax)
% psnr - compute the Peack Signal to Noise Ratio, defined by :
% PSNR(x,y) = 10*log10( max(max(x),max(y))^2 / |x-y|^2 ).
%
% p = psnr(x,y);
%
% Copyright
www.eeworm.com/read/297636/8007240
m psnr.m
function dPSNR = psnr(ImageA,ImageB)
if (size(ImageA,1) ~= size(ImageB,1)) or (size(ImageA,2) ~= size(ImageB,2))
error('ImageA ImageB');
dPSNR = 0;
return ;
end
M = size(I
www.eeworm.com/read/196122/8114110
m psnr.m
function [snr,mse] = psnr (A,B)
diff = A - B;
diff_sq = diff .^ 2; % difference squared
mse_clmn = mean(diff_sq); % means square diff. of the columns;
mse = mean(mse_clmn);
if (mse == 0)
www.eeworm.com/read/245215/12810029
m psnr.m
%Name: Chris Shoemaker
%Course: EER-280 - Digital Watermarking
%Project: Calculates the PSNR (Peak Signal to Noise Ratio)
% of images A and A', both of size MxN
%function [A] = psnr
www.eeworm.com/read/244541/12857361
m psnr.m
function [snr,mse] = psnr (A,B)
diff = A - B;
diff_sq = diff .^ 2; % difference squared
mse_clmn = mean(diff_sq); % means square diff. of the columns;
mse = mean(mse_clmn);
if (mse == 0)
www.eeworm.com/read/244538/12857382
m psnr.m
function [psnr] = PSNR (A,B)
%
%function [psnr] = psnr (A,B)
%
%
mse = mserror(A,B) % MMSE
if (mse == 0)
psnr=Inf;
else
psnr = 10*log10(255^2/mse);
www.eeworm.com/read/243624/12931316
m psnr.m
%Name: Chris Shoemaker
%Course: EER-280 - Digital Watermarking
%Project: Calculates the PSNR (Peak Signal to Noise Ratio)
% of images A and A', both of size MxN
function [A] = psnr(
www.eeworm.com/read/327355/13084031
m psnr.m
%文件名:<mark>PSNR</mark>.m
%编 写:郭林庚
%编写时间:2005.11.01
%函数功能:本函数将完成对输入图像的峰值信噪比计算
%输入格式举例:<mark>psnr</mark>=<mark>PSNR</mark>('lena.jpg','lenawater.jpg');
%参数说明:
%original为原始图像
%test为加有水印的图像
%<mark>psnr</mark>value为两者峰值信噪比
%实际上也计算了MSE,SNR值
func ...
www.eeworm.com/read/325171/13221232
m psnr.m
%Name: Chris Shoemaker
%Course: EER-280 - Digital Watermarking
%Project: Calculates the PSNR (Peak Signal to Noise Ratio)
% of images A and A', both of size MxN
function [A] = psnr(