필터 지우기
필터 지우기

what should be the values of all the fidelity parameters that are calculated in denoising of an image?

조회 수: 1 (최근 30일)
i want know the possible values of PSNR MSE and correlation variable after applying addaptive filters to a noisy image

답변 (1개)

harjeet singh
harjeet singh 2015년 12월 16일
use this code
clear all
close all
clc
image=imread('cameraman.tif');
figure(1)
imshow(image);
drawnow
image_n=imnoise(image,'salt & pepper',0.1);
figure(2)
imshow(image_n)
drawnow
I=double(image);
K=double(image_n);
[m n]=size(I);
MSE=(I-K).^2;
MSE=sum(MSE(:))/(m*n)
PSNR=10*log10(255.^2/MSE)
correlation = corr2(I,K)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by