How to calculate SNR

3 Ansichten (letzte 30 Tage)
itai
itai am 26 Feb. 2014
Kommentiert: itai am 26 Feb. 2014
Hi,
I need to calculate the SNR of imaging system. I have a image of the system that contains edge target (half image black and half white). How can i calculate the SNR of the system if i don't know the signal and the noise in the image.
please help me, Itai

Akzeptierte Antwort

Image Analyst
Image Analyst am 26 Feb. 2014
Assuming the noise mean has zero bias, just take the mean of the image over the white part of the target and the black part of the target, and take the standard deviation, then divide
meanWhiteGL = mean2(whitePartOfImage);
stdWhiteGL = std(double(whitePartOfImage(:)));
SNRWhite = meanWhiteGL / stdWhiteGL;
Same for the black part of the image. It's possible that the two regions could have different SNRs.
  1 Kommentar
itai
itai am 26 Feb. 2014
thank you, but if the two results of the SNR is different what is the correct result? what i choose?
Itai

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Signal Processing Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by