Changeset 1033 for trunk/src/series/check_data_files.m
- Timestamp:
- Apr 30, 2018, 8:01:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/check_data_files.m
r1027 r1033 109 109 110 110 %determine the file type on each line from the first input file 111 ImageTypeOptions={'image','multimage','mmreader','video','cine_phantom'};112 111 NcTypeOptions={'netcdf','civx','civdata'}; 113 112 for iview=1:nbview 114 113 [FileInfo{iview},Object{iview}]=get_file_info(filecell{iview,1}); 115 114 FileType{iview}=FileInfo{iview}.FileType; 116 CheckImage{iview}= ~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images115 CheckImage{iview}=strcmp(FileInfo{iview}.FieldType,'image');% =1 for images 117 116 CheckNc{iview}=~isempty(find(strcmp(FileType{iview},NcTypeOptions)));% =1 for netcdf files 118 117 end
Note: See TracChangeset
for help on using the changeset viewer.