Documente Academic
Documente Profesional
Documente Cultură
2 Answers
Let us consider our image matrix (3x3 to keep things easy to understand):
[121
236
582]
Now, we need to find the “NOISE” part of our problem. When we have these two, we just
need to find the ratio of signal to noise.
Let us say that we transmitted our image over a noisy channel, and the image matrix
received at the other end was:
[131
235
5 8 1]
The noise can be calculated as the difference between the received image and the sent
image, so in our case it would be:
[010
0 0 -1
0 0 -1]
Since, noise can be positive or negative as seen above, if we summed positive and negative
noises, many would cancel each other out. To avoid this, we use square of the noise. So, all
noise values, positive or negative, become positive.
Then we simply find the mean or average of these positive values. Related Questions
https://www.quora.com/How-do-I-compute-the-PSNR-peak-signal-to-noise-ratio-of-a-digitized-image-expressed-in-the-form-of-an-m-x-n-matrix 1/3
5/11/2020 How to compute the PSNR (peak signal-to-noise ratio) of a digitized image expressed in the form of an m x n matrix - Quora
This is called the MSE or mean square error. (The M and N in the MSE formula are the
number of rowsSearch
andfor questions,
columns people,
in our imageand topics
matrix). Sign In
How do I calculate the signal-to-noise ratio of an
image?
Using MSE in the formula above for PSNR, we can then calculate the PSNR.
What is a signal-to-noise ratio?
In the formula for PSNR, the value of R is decided by the format of the image. If the image
How can I calculate the Signal to Noise ratio?
is an 8 bit image, R = 255. If the image is expressed using floating point numbers, R = 1.
How is signal-to-noise ratio calculated?
So, let us assume that our image is 8 bit, so R=255.
Why is signal-to-noise ratio important?
MSE = [ (1)^2 + (-1)^2 + (-1)^2 ] / (3 * 3) = 3/9 = 0.3333…
What does signal-to-noise ratio mean in terms of
so PSNR = 10 log (255 * 255 * 3) = 52.9 dB (approximately) for our image example.
modelling datasets?
Check
However, what is your “noise”? If there is an “original image” the noise corresponds to the
MSE between them.
1.8k views · View 1 Upvoter
Related Questions
What does the signal-to-noise ratio (SNR) mean in BER (bit error rate) versus an SNR
curve?
How can I plot the relationship between the probability of an error and the signal to noise
ratio?
What is the best way to implement blind deconvolution for signal r(n) = h(n) * s(n) + a(n) in
Matlab?
https://www.quora.com/How-do-I-compute-the-PSNR-peak-signal-to-noise-ratio-of-a-digitized-image-expressed-in-the-form-of-an-m-x-n-matrix 2/3
5/11/2020 How to compute the PSNR (peak signal-to-noise ratio) of a digitized image expressed in the form of an m x n matrix - Quora
https://www.quora.com/How-do-I-compute-the-PSNR-peak-signal-to-noise-ratio-of-a-digitized-image-expressed-in-the-form-of-an-m-x-n-matrix 3/3