How can I save the values of all image in excel each time?
1 次查看(过去 30 天)
显示 更早的评论
I calculate statistical from VT image and segmented image.So I use a loop to go through all image (100 image) from two folders and calculate the values..How can I save the values of all image in excel in different columns each time?
0 个评论
回答(1 个)
Walter Roberson
2018-9-20
Easiest way is to store them in different columns of an array (possibly a cell array) as you go, and xlswrite once at the end.
5 个评论
Image Analyst
2018-9-22
What does this show (put it before that line):
whos Results
tempVar = [nbPixel_vrai_positif,nbPixel_vrai_negatif,nbPixel_faux_positif,nbPixel_faux_negatif,SE, SP, AC,PR, RC,F_measure,C_surdetection,C_sousdetection,I_Jaccard,I_Dice,nbPixelinvroiMask ]
whos tempVar
The number of columns in each must be the same, and the tempVar must have only one row.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Other Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!