Changeset 1144 for trunk/src/series/extract_multitif.m
- Timestamp:
- May 13, 2024, 9:49:09 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/extract_multitif.m
r1129 r1144 77 77 ParamOut.AllowInputSort='off';% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default) 78 78 ParamOut.WholeIndexRange='on';% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default) 79 ParamOut.NbSlice='o ff'; % impose calculation in a single process (no parallel processing to avoid 'holes'))79 ParamOut.NbSlice='on'; % 80 80 ParamOut.VelType='off';% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 81 81 ParamOut.FieldName='off';% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) … … 91 91 first_j=[];% note that the function will propose to cover the whole range of indices 92 92 if isfield(Param.IndexRange,'MinIndex_j'); first_j=Param.IndexRange.MinIndex_j; end 93 last_j=[];94 if isfield(Param.IndexRange,'MaxIndex_j'); last_j=Param.IndexRange.MaxIndex_j; end93 % % last_j=[]; 94 % % if isfield(Param.IndexRange,'MaxIndex_j'); last_j=Param.IndexRange.MaxIndex_j; end 95 95 PairString=''; 96 96 if isfield(Param.IndexRange,'PairString'); PairString=Param.IndexRange.PairString; end … … 101 101 msgbox_uvmat('WARNING',['the first input file ' FirstFileName ' does not exist']) 102 102 end 103 103 ParamOut.NbSlice=Param.IndexRange.MaxIndex_i; 104 104 %% check the validity of input file types 105 105 FileInfo=get_file_info(FirstFileName); 106 106 if ~strcmp(FileInfo.FileType,'multimage') 107 msgbox_uvmat('ERROR',['invalid file type input: ' FileInfo.FileType ' not a n image'])107 msgbox_uvmat('ERROR',['invalid file type input: ' FileInfo.FileType ' not a tiff image series']) 108 108 return 109 109 end
Note: See TracChangeset
for help on using the changeset viewer.