SNR IN and SNR OUT
1 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!