SNR IN and SNR OUT

1 visualización (últimos 30 días)
Soum
Soum el 11 de Jul. de 2013
Hi;
In order to compare the noisy and the De-noised image i should calculate the SNR IN and The SNR OUT
SNR IN :the SNR between the original image I and the noisy In
SNR OUT:the SNR between the De-noised image Id and the original I
For this purpose,I have written a code for calculate the SNR but I'm not sure if it correct because the values i've got they are negatives :/
es=sum(sum(abs(I).^2));
en=sum(sum(abs(In).^2));
SNRIN=10*log10(es/en);
es=sum(sum(abs(I).^2));
en=sum(sum(abs(Id).^2));
SNROUT=10*log10(es/en);

Respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by