Changeset 160


Ignore:
Timestamp:
Dec 23, 2010, 8:52:21 AM (10 years ago)
Author:
sommeria
Message:

bug corrected in ima_levels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/ima_levels.m

    r128 r160  
    1818[dir_images,namebase]=fileparts(basename);
    1919[path,subdir_ima]=fileparts(dir_images);
    20 curdir=pwd;
     20dircur=pwd;
    2121cd(path);
    2222mkdir([subdir_ima '_levels']);
     
    2828end
    2929cd(dircur);
    30 cd(curdir);
    3130basename_new=fullfile(path,[subdir_ima '_levels'],namebase);
    3231
    3332% 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);
    3736
    38 answer=msgbox_uvmat('CONFIRMATION','apply image rescaling function levels.m ')
     37msgbox_uvmat('CONFIRMATION','apply image rescaling function levels.m ');
    3938
    4039%copy the xml file
     
    4443
    4544%main loop
    46 nbfield=size(num_i1,2)
    47 nbfield2=size(num_i1,1)
     45nbfield=size(num_i1,2);
     46nbfield2=size(num_i1,1);
    4847for ifile=1:nbfield
    4948    update_waitbar(hseries.waitbar,WaitbarPos,ifile/nbfield)
Note: See TracChangeset for help on using the changeset viewer.