Ignore:
Timestamp:
Apr 30, 2018, 8:01:35 PM (6 years ago)
Author:
sommeria
Message:

miscellaneous updates

File:
1 edited

Legend:

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

    r1030 r1033  
    134134
    135135%% determine the file type on each line from the first input file
    136 ImageTypeOptions={'image','multimage','mmreader','video','cine_phantom'};
    137136NcTypeOptions={'netcdf','civx','civdata'};
    138137for iview=1:NbView
     
    146145        FileType{iview}='netcdf';
    147146    end
    148     CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images
     147    CheckImage{iview}=strcmp(FileInfo{iview}.FieldType,'image');% =1 for images
    149148    if CheckImage{iview}
    150149        ParamIn{iview}=MovieObject{iview};
Note: See TracChangeset for help on using the changeset viewer.