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

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.

 Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by