how use immse between two color images

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

3 Comments

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
U're welcome. No, That's enough.

Sign in to comment.

 Accepted Answer

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!

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!