Changeset 1188 for trunk/src/series/civ_series.m
- Timestamp:
- Dec 11, 2025, 8:45:31 AM (3 days ago)
- File:
-
- 1 edited
-
trunk/src/series/civ_series.m (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r1187 r1188 256 256 257 257 %% File relabeling documented by the xml file (e.g. PCO) 258 CheckRelabel=isfield(Param,'FileSeries' );%=true for index relabeling (PCO) 259 260 % %% introduce input image transform 261 % transform_fct=[];%default, no transform 262 % if isfield(Param,'FieldTransform')&&~isempty(Param.FieldTransform.TransformName) 263 % currentdir=pwd; 264 % cd(Param.FieldTransform.TransformPath) 265 % transform_fct=str2func(Param.FieldTransform.TransformName); 266 % cd (currentdir) 267 % end 258 CheckRelabel=isfield(Param.IndexRange,'Relabel' )&& Param.IndexRange.Relabel;%=true for index relabeling (PCO) 268 259 269 260 %%%%% MAIN LOOP %%%%%% … … 291 282 OutputPath=fullfile(Param.OutputPath,Param.Experiment,Param.Device); 292 283 if CheckRelabel 293 RootFileOut=index2filename( Param.FileSeries,1,1,MaxIndex_j);284 RootFileOut=index2filename(XmlData.FileSeries,1,1,MaxIndex_j); 294 285 else 295 286 RootFileOut=RootFile_A; … … 343 334 FrameIndex_A=1; 344 335 elseif CheckRelabel 345 [RootFile,FrameIndex_A]=index2filename(Param.FileSeries,i1_series_Civ1(ifield),j1_series_Civ1(ifield),MaxIndex_j);346 ImageName_A=fullfile(RootPath_A,SubDir_A,RootFile);336 [RootFile,FrameIndex_A]=index2filename(XmlData.FileSeries,i1_series_Civ1(ifield),j1_series_Civ1(ifield),MaxIndex_j); 337 ImageName_A=fullfile(RootPath_A,SubDir_A,RootFile); 347 338 else 348 339 ImageName_A=fullfile_uvmat(RootPath_A,SubDir_A,RootFile_A,FileExt_A,NomType_A,i1_series_Civ1(ifield),[],j1_series_Civ1(ifield)); … … 382 373 end 383 374 if CheckRelabel 384 [RootFile,FrameIndex_B]=index2filename( Param.FileSeries,i2_series_Civ1(ifield),j2_series_Civ1(ifield),MaxIndex_j);375 [RootFile,FrameIndex_B]=index2filename(XmlData.FileSeries,i2_series_Civ1(ifield),j2_series_Civ1(ifield),MaxIndex_j); 385 376 ImageName_B=fullfile(RootPath_B,SubDir_B,RootFile); 386 377 else … … 632 623 ImageName_A_Civ2=Param.ActionInput.RefFile; 633 624 elseif CheckRelabel 634 [RootFile,FrameIndex_A_2]=index2filename( Param.FileSeries,i1_series_Civ2(ifield),j1_series_Civ2(ifield),MaxIndex_j);625 [RootFile,FrameIndex_A_2]=index2filename(XmlData.FileSeries,i1_series_Civ2(ifield),j1_series_Civ2(ifield),MaxIndex_j); 635 626 ImageName_A_Civ2=fullfile(RootPath_A,SubDir_A,RootFile); 636 627 else … … 644 635 end 645 636 if CheckRelabel 646 [RootFile,FrameIndex_B_2]=index2filename( Param.FileSeries,i2_civ2,j2_civ2,MaxIndex_j);637 [RootFile,FrameIndex_B_2]=index2filename(XmlData.FileSeries,i2_civ2,j2_civ2,MaxIndex_j); 647 638 ImageName_B_Civ2=fullfile(RootPath_B,SubDir_B,RootFile); 648 639 else
Note: See TracChangeset
for help on using the changeset viewer.
