필터 지우기
필터 지우기

How can I save the values of all image in excel each time?

조회 수: 1 (최근 30일)
dziri halima
dziri halima 2018년 9월 19일
댓글: dziri halima 2018년 9월 22일
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?

답변 (1개)

Walter Roberson
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
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.
dziri halima
dziri halima 2018년 9월 22일
Thank's sur,i use it but it save all result in the same row .I would save for each run result in individual row . xlrange='A1:O1' for first result xlrange='A2:O2' for second........ I try to write this code but it not work xlrange='A(k):O(K)'

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Other Formats에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by