- Timestamp:
- Dec 23, 2010, 8:52:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/ima_levels.m
r128 r160 18 18 [dir_images,namebase]=fileparts(basename); 19 19 [path,subdir_ima]=fileparts(dir_images); 20 curdir=pwd;20 dircur=pwd; 21 21 cd(path); 22 22 mkdir([subdir_ima '_levels']); … … 28 28 end 29 29 cd(dircur); 30 cd(curdir);31 30 basename_new=fullfile(path,[subdir_ima '_levels'],namebase); 32 31 33 32 % read imadoc 34 [XmlData,warntext]=imadoc2struct([basename '.xml']);35 nbfield1=size(XmlData.Time,1) 36 nbfield2=size(XmlData.Time,2) 33 %[XmlData,warntext]=imadoc2struct([basename '.xml']); 34 % nbfield1=size(XmlData.Time,1); 35 % nbfield2=size(XmlData.Time,2); 37 36 38 answer=msgbox_uvmat('CONFIRMATION','apply image rescaling function levels.m ') 37 msgbox_uvmat('CONFIRMATION','apply image rescaling function levels.m '); 39 38 40 39 %copy the xml file … … 44 43 45 44 %main loop 46 nbfield=size(num_i1,2) 47 nbfield2=size(num_i1,1) 45 nbfield=size(num_i1,2); 46 nbfield2=size(num_i1,1); 48 47 for ifile=1:nbfield 49 48 update_waitbar(hseries.waitbar,WaitbarPos,ifile/nbfield)
Note: See TracChangeset
for help on using the changeset viewer.