Changeset 628


Ignore:
Timestamp:
May 3, 2013, 10:56:57 AM (12 years ago)
Author:
sommeria
Message:

bug repaired in ima_levels

File:
1 edited

Legend:

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

    r624 r628  
    103103% i1_series(iview,ref_j,ref_i)... are the corresponding arrays of indices i1,i2,j1,j2, depending on the input line iview and the two reference indices ref_i,ref_j
    104104% i1_series(iview,fileindex) expresses the same indices as a 1D array in file indices
    105 nbfield_j=size(j1_series{1},1); %nb of fields for the j index (bursts or volume slices)
     105nbfield_j=size(i1_series{1},1); %nb of fields for the j index (bursts or volume slices)
    106106nbfield_i=size(i1_series{1},2); %nb of fields for the i index
    107107nbfield=nbfield_j*nbfield_i; %total number of fields
     
    150150j1=[];%default
    151151for ifile=1:nbfield
    152             update_waitbar(WaitbarHandle,index/nbfield)
     152            update_waitbar(WaitbarHandle,ifile/nbfield)
    153153    if ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')
    154154        disp('program stopped by user')
    155155        return
    156     end
    157     if ~isequal(stopstate,'queue') % enable STOP command
    158         break
    159156    end
    160157    if ~isempty(j1_series)&&~isequal(j1_series,{[]})
Note: See TracChangeset for help on using the changeset viewer.