Changeset 1033 for trunk/src/series/aver_stat.m
- Timestamp:
- Apr 30, 2018, 8:01:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/aver_stat.m
r1027 r1033 167 167 168 168 %% determine the file type on each line from the first input file 169 ImageTypeOptions={'image','multimage','mmreader','video','cine_phantom'};170 169 NcTypeOptions={'netcdf','civx','civdata'}; 171 170 for iview=1:NbView … … 176 175 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 177 176 FileType{iview}=FileInfo{iview}.FileType; 178 CheckImage{iview}= ~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images177 CheckImage{iview}=strcmp(FileInfo{iview}.FieldType,'image');% =1 for images 179 178 CheckNc{iview}=~isempty(find(strcmp(FileType{iview},NcTypeOptions)));% =1 for netcdf files 180 179 if ~isempty(j1_series{iview})
Note: See TracChangeset
for help on using the changeset viewer.