Changeset 894 for trunk/src/series/extract_rdvision_new.m
- Timestamp:
- May 4, 2015, 9:59:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/extract_rdvision_new.m
r889 r894 185 185 186 186 for iview=1:size(Param.InputTable,1) 187 filexml=[fullfile(RootPath,Param.InputTable{iview, 3}) '.xml'];%new convention: xml at the level of the image folder187 filexml=[fullfile(RootPath,Param.InputTable{iview,2},Param.InputTable{iview,3}) '.xml'];%new convention: xml at the level of the image folder 188 188 if ~exist(filexml,'file') 189 189 disp_uvmat('ERROR',[filexml ' missing'],checkrun) 190 190 return 191 191 end 192 % %[XmlData,error]=imadoc2struct_special(filexml);193 192 [XmlData,error]=imadoc2struct(filexml); 194 % if ~isempty(error) 195 % disp(error) 196 % end 197 % if isfield(XmlData,'Time') 198 % itime=itime+1; 199 % timecell{itime}=XmlData.Time; 200 % end 201 % if isfield(XmlData,'GeometryCalib') && isfield(XmlData.GeometryCalib,'SliceCoord') 202 % NbSlice_calib{1}=size(XmlData.GeometryCalib.SliceCoord,1);%nbre of slices for Zindex in phys transform 203 % if ~isequal(NbSlice_calib{1},NbSlice_calib{1}) 204 % msgbox_uvmat('WARNING','inconsistent number of Z indices for the two field series'); 205 % end 206 % end 193 194 newxml=[fullfile(RootPath,Param.InputTable{iview,3}) '.xml'] 195 196 [SUCCESS] = copyfile(filexml,newxml); %copy the xml file in the upper folder 207 197 208 198
Note: See TracChangeset
for help on using the changeset viewer.