How to write Mean Square Error, Value in text file.

1 vue (au cours des 30 derniers jours)
Anshika Jain
Anshika Jain le 29 Avr 2019
Commenté : Anshika Jain le 2 Mai 2019
Hello Everyone..
I have dataset of image 5000. i want to check performance parameter of these images by MSE (Mean Square Error), PSNR, SSIM. so how can i write value of every MSE, PSNR or SSIM in text file or excel file or notepad. I need MATLAB code for this.
please Help
Thankuuu.

Réponse acceptée

Image Analyst
Image Analyst le 29 Avr 2019
Here's a start:
fid = fopen(fileName);
fprintf(fid, 'MSE = %f\nSNR = %f\nSSIM = %f\n', theMSE, thePSNR, theSSIM);
fclose(fid);

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by