How to write Mean Square Error, Value in text file.
1 view (last 30 days)
Show older comments
Anshika Jain
on 29 Apr 2019
Commented: Anshika Jain
on 2 May 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.
0 Comments
Accepted Answer
Image Analyst
on 29 Apr 2019
Here's a start:
fid = fopen(fileName);
fprintf(fid, 'MSE = %f\nSNR = %f\nSSIM = %f\n', theMSE, thePSNR, theSSIM);
fclose(fid);
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!