how can i compute the differncebetween two RGB images, mean sqaue error and peak signal noise ratio PSNR

3 Kommentare

Yusuf lamah
Yusuf lamah am 7 Feb. 2020
thank you very much Majid means dont need to convert matrix to array or separate the components of RGB R alone and G then B
Majid Farzaneh
Majid Farzaneh am 7 Feb. 2020
U're welcome. No, That's enough.
Yusuf lamah
Yusuf lamah am 7 Feb. 2020
thank alot

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Majid Farzaneh
Majid Farzaneh am 7 Feb. 2020

1 Stimme

Hi Yusuf,
You can calculate MSE and PSNR between 2 rgb images A and B like this:
MeanSquareError=immse(A,B)
PeakSignaltoNoiseRatio = psnr(A,B)
You don't need anything else!

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by