Changeset 716 for trunk/src/series/merge_proj.m
- Timestamp:
- Feb 24, 2014, 10:51:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/merge_proj.m
r676 r716 54 54 ParamOut.OutputDirExt='.mproj';%set the output dir extension 55 55 ParamOut.OutputFileMode='NbInput';% '=NbInput': 1 output file per input file index, '=NbInput_i': 1 file per input file index i, '=NbSlice': 1 file per slice 56 filecell=get_file_series(Param);%check existence of the first input file 57 if ~exist(filecell{1,1},'file') 58 msgbox_uvmat('WARNING','the first input file does not exist') 56 %check the input files 57 first_j=[]; 58 if isfield(Param.IndexRange,'first_j'); first_j=Param.IndexRange.first_j; end 59 last_j=[]; 60 if isfield(Param.IndexRange,'last_j'); last_j=Param.IndexRange.last_j; end 61 PairString=''; 62 if isfield(Param.IndexRange,'PairString'); PairString=Param.IndexRange.PairString; end 63 [i1,i2,j1,j2] = get_file_index(Param.IndexRange.first_i,first_j,PairString); 64 FirstFileName=fullfile_uvmat(Param.InputTable{1,1},Param.InputTable{1,2},Param.InputTable{1,3},... 65 Param.InputTable{1,5},Param.InputTable{1,4},i1,i2,j1,j2); 66 if ~exist(FirstFileName,'file') 67 msgbox_uvmat('WARNING',['the first input file ' FirstFileName ' does not exist']) 59 68 elseif isequal(size(Param.InputTable,1),1) && ~isfield(Param,'ProjObject') 60 69 msgbox_uvmat('WARNING','You may need a projection object of type plane for merge_proj')
Note: See TracChangeset
for help on using the changeset viewer.