代码搜索:PSNR
找到约 336 项符合「PSNR」的源代码
代码结果 336
www.eeworm.com/read/163194/10171605
m psnr.m
%PSNR.m
function S=PSNR(I,J)
% PSNR(I,J) returns the peak signal to noise ratio) between I and J %(dB)
% I is the original image and J is a modified version of I.
% The PSNR value is useful to ca
www.eeworm.com/read/163190/10171810
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/356135/10236141
m psnr.m
function mySNR = psnr(img_A, img_B)
%psnr.m
[hight,width,dimension] = size(img_A);
sub_img = imsubtract( img_A, img_B);
sub_img = double(sub_img);
sub_img = sub_img .* sub_img;%do square
%squa
www.eeworm.com/read/353425/10448420
m psnr.m
function PSNR(A,B)
% PURPOSE: To find the PSNR (peak signal-to-noise ratio) between two
% intensity images A and B, each having values in the interval
% [0,1]. The answer is in deci
www.eeworm.com/read/352303/10565572
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/470540/6913225
m psnr.m
clear all;
[y1,fs,bits]=wavread('f:\voise\3.wav');
%y1=y1/max(abs(y1));%归一化
wavwrite(y1,8000,8,'f:\wav\3.wav');
figure(1);
plot(y1);
[noise,fs1,bits1]=wavread('f:\voise\3_noise.wav');
y=mixsi
www.eeworm.com/read/468647/6986178
m psnr.m
function [y] = psnr(x,y)
[nx,ny]=size(x);
y = -10.0*log10(norm(x-y,'fro')^2/(nx*ny));
www.eeworm.com/read/456923/7336963
m psnr.m
function S=PSNR(I,J)
% PSNR(I,J) returns the peak signal to noise ratio) between I and J %(dB)
% I is the original image and J is a modified version of I.
% The PSNR value is useful to calculat
www.eeworm.com/read/453243/7423398
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)