Changeset 1033 for trunk/src/series/sub_background.m
- Timestamp:
- Apr 30, 2018, 8:01:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r1032 r1033 107 107 108 108 %% check the validity of input file types 109 ImageTypeOptions={'image','multimage','mmreader','video','cine_phantom','image_DaVis'};%allowed input file types(images)110 109 FileInfo=get_file_info(FirstFileName); 111 110 FileType=FileInfo.FileType; 112 CheckImage= ~isempty(find(strcmp(FileType,ImageTypeOptions), 1));% =1 for images111 CheckImage=strcmp(FileInfo.FieldType,'image');% =1 for images 113 112 if ~CheckImage 114 113 msgbox_uvmat('ERROR',['invalid file type input: ' FileType ' not an image'])
Note: See TracChangeset
for help on using the changeset viewer.