how to calculate snr of an image

7 views (last 30 days)
ayesha
ayesha on 16 Jul 2017
Answered: Rik on 16 Jul 2017
I am working on images of CT scans. I would like to find out the signal to noise ratio of the image and compare it with other images. How to calculate the snr of the images??

Answers (1)

Rik
Rik on 16 Jul 2017
The first hit on Google for me was the Wikipedia page. From this section, it is trivial to write code accordingly:
SNR=mean(CT(:))/std(CT(:));
Just a hint: next time have a read here and here. It will greatly improve your chances of getting an answer and also help you to find the answers yourself.

Tags

Community Treasure Hunt

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

Start Hunting!