Changeset 711 for trunk/src/series


Ignore:
Timestamp:
Feb 18, 2014, 10:11:11 AM (10 years ago)
Author:
sommeria
Message:

various improvements

Location:
trunk/src/series
Files:
2 edited

Legend:

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

    r710 r711  
    8787NomTypeInput=Param.InputTable{1,4};
    8888FileExt=Param.InputTable{1,5};
    89 FileType=SeriesData.FileType{1};%type of the first input file series
    90 FileInfo=SeriesData.FileInfo{1};
     89if isfield(SeriesData,'FileType')&&isfield(SeriesData,'FileInfo')
     90    FileType=SeriesData.FileType{1};%type of the first input file series
     91    FileInfo=SeriesData.FileInfo{1};
     92else
     93    msgbox_uvmat('ERROR','please refresh the input file series')
     94    return
     95end
    9196
    9297
     
    333338function errormsg=display_file_name(handles,fileinput)
    334339%------------------------------------------------------------------------
    335 
    336 
    337 %% enable OK, BATCH button and 'status' display
    338 % set(handles.OK, 'Enable','On')
    339 % set(handles.OK,'BackgroundColor',[1 0 0])%set RUN button to red color
    340 % if isfield(handles,'status')
    341 %     set(handles.status,'Value',0);       %suppress the 'status' display
    342 %     status_Callback([], [], handles)
    343 % end
    344 
    345 %% determine nomenclature types and extension of the input files
    346 % [RootPath,SubDir,Civ2_ImageB,i1,i2,j1,j2,ExtInput,NomTypeInput]=fileparts_uvmat(fileinput);
    347 % NomTypeNc='';%default
    348 
    349 
    350340
    351341%% scan the image file series
  • trunk/src/series/civ_series.m

    r707 r711  
    5858    Data.Mask='off';%can use mask option   (option 'off'/'on', 'off' by default)
    5959    Data.OutputDirExt='.civ';%set the output dir extension
     60    Data.OutputSubDirMode='last'; %select the last subDir in the input table as root of the output subdir name (option 'all'/'first'/'last', 'all' by default)
    6061    Data.OutputFileMode='NbInput_i';% one output file expected per value of i index (used for waitbar)
    6162    filecell=get_file_series(Param);%check existence of the first input file
Note: See TracChangeset for help on using the changeset viewer.