Changeset 640
- Timestamp:
- May 21, 2013, 1:14:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/merge_proj.m
r635 r640 164 164 %use Param.InputFields for all views 165 165 166 %% MAIN LOOP ON SLICES166 %% MAIN LOOP ON FIELDS 167 167 %%%%%%%%%%%%% STANDARD PART (DO NOT EDIT) %%%%%%%%%%%% 168 168 % for i_slice=1:NbSlice … … 205 205 end 206 206 end 207 208 %% check whether tps is needed, then calculate tps coefficients if needed209 % check_tps=0;210 % if isfield(Param.InputFields,'FieldName')211 % if ischar(Param.InputFields.FieldName)212 % Param.InputFields.FieldName={Param.InputFields.FieldName};213 % end214 % else215 % Param.InputFields.FieldName={};216 % end217 % for ilist=1:numel(Param.InputFields.FieldName)218 % switch Param.InputFields.FieldName{ilist}219 % case {'vort','div','strain'}220 % check_tps=1;221 % end222 % end223 224 207 225 208 %% calculate tps coefficients if needed … … 234 217 return 235 218 end 219 end 220 221 %% mask 222 if isfield(Param,'Mask') 223 %TODO: introduce a table of masks for multiple views 224 [MaskData{iview},tild,errormsg] = read_field(Param.Mask,'image'); 225 if ~isempty(transform_fct) && nargin(transform_fct)>=2 226 MaskData{iview}=transform_fct(MaskData,XmlData{iview}); 227 end 228 [Data{iview},errormsg]=mask_proj(Data{iview},MaskData{iview}); 236 229 end 237 230 end
Note: See TracChangeset
for help on using the changeset viewer.