Filter löschen
Filter löschen

SNR between two images in MATLAB

5 Ansichten (letzte 30 Tage)
Franta Cymorek
Franta Cymorek am 21 Feb. 2019
Kommentiert: Franta Cymorek am 21 Feb. 2019
Below is the algorithm for calculating the SNR of two images in MATLAB:
A = imread('Yes_Noise.png');
A = imgaussfilt(A, 2); %Filtered image
ref = imread('Yes_Noise.png'); %Noisy image
test = snr(ref,ref-A)
Is it the algorithm rigth? It's purpose is find out the SNR value between filtered and nosiy image.
  4 Kommentare
Adam
Adam am 21 Feb. 2019
21-02-2019 16-32-34.png
is what the help says, assuming snr is the Matlab Signal Processing Toolbox function. So assuming the difference between the smoothed image and the original is considered noise then yes, subtractubing the filtered image from the original will give this.
Franta Cymorek
Franta Cymorek am 21 Feb. 2019
Thanks...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by