Changeset 1152 for trunk/src/series
- Timestamp:
- Jul 4, 2024, 4:23:43 PM (6 months ago)
- Location:
- trunk/src/series
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_3D.m
r1151 r1152 189 189 %% get timing from the ImaDoc file or input video 190 190 if iview_A~=0 191 XmlFileName=find_imadoc(RootPath_A,SubDir_A ,RootFile_A,FileExt_A);191 XmlFileName=find_imadoc(RootPath_A,SubDir_A); 192 192 Time=[]; 193 193 if ~isempty(XmlFileName) -
trunk/src/series/civ_input.m
r1148 r1152 2362 2362 % --- Executes on selection change in field_ref2. 2363 2363 function field_ref2_Callback(hObject, eventdata, handles) 2364 2365 2366 -
trunk/src/series/civ_series.m
r1148 r1152 256 256 %% get timing from the ImaDoc file or input video 257 257 if iview_A~=0 258 XmlFileName=find_imadoc(RootPath_A,SubDir_A ,RootFile_A,FileExt_A);258 XmlFileName=find_imadoc(RootPath_A,SubDir_A); 259 259 Time=[]; 260 260 if ~isempty(XmlFileName) … … 488 488 end 489 489 if strcmp(Param.ActionInput.ListCompareMode, 'PIV volume') 490 Data.ListVarName=[Data.ListVarName 'Civ1_Z'];491 Data.Civ1_X=[];Data.Civ1_Y=[];Data.Civ1_Z=[];492 Data.Civ1_U=[];Data.Civ1_V=[];Data.Civ1_C=[];493 for ivol=1:NbSlice494 % caluclate velocity data (y and v in indices, reverse to y component)495 [xtable, ytable, utable, vtable, ctable, F, result_conv, errormsg] = civ (par_civ1);496 if ~isempty(errormsg)497 disp_uvmat('ERROR',errormsg,checkrun)498 return499 end500 Data.Civ1_X=[Data.Civ1_X reshape(xtable,[],1)];501 Data.Civ1_Y=[Data.Civ1_Y reshape(Param.Civ1.ImageHeight-ytable+1,[],1)];502 Data.Civ1_Z=[Data.Civ1_Z ivol*ones(numel(xtable),1)];% z=image index in image coordinates503 Data.Civ1_U=[Data.Civ1_U reshape(utable,[],1)];504 Data.Civ1_V=[Data.Civ1_V reshape(-vtable,[],1)];505 Data.Civ1_C=[Data.Civ1_C reshape(ctable,[],1)];506 Data.Civ1_FF=[Data.Civ1_FF reshape(F,[],1)];507 end490 % Data.ListVarName=[Data.ListVarName 'Civ1_Z']; 491 % Data.Civ1_X=[];Data.Civ1_Y=[];Data.Civ1_Z=[]; 492 % Data.Civ1_U=[];Data.Civ1_V=[];Data.Civ1_C=[]; 493 % for ivol=1:NbSlice 494 % % caluclate velocity data (y and v in indices, reverse to y component) 495 % [xtable, ytable, utable, vtable, ctable, F, result_conv, errormsg] = civ (par_civ1); 496 % if ~isempty(errormsg) 497 % disp_uvmat('ERROR',errormsg,checkrun) 498 % return 499 % end 500 % Data.Civ1_X=[Data.Civ1_X reshape(xtable,[],1)]; 501 % Data.Civ1_Y=[Data.Civ1_Y reshape(Param.Civ1.ImageHeight-ytable+1,[],1)]; 502 % Data.Civ1_Z=[Data.Civ1_Z ivol*ones(numel(xtable),1)];% z=image index in image coordinates 503 % Data.Civ1_U=[Data.Civ1_U reshape(utable,[],1)]; 504 % Data.Civ1_V=[Data.Civ1_V reshape(-vtable,[],1)]; 505 % Data.Civ1_C=[Data.Civ1_C reshape(ctable,[],1)]; 506 % Data.Civ1_FF=[Data.Civ1_FF reshape(F,[],1)]; 507 % end 508 508 else %usual PIV 509 509 % caluclate velocity data (y and v in indices, reverse to y component) -
trunk/src/series/merge_proj.m
r1147 r1152 338 338 end 339 339 [MaskData,~,errormsg] = read_field(maskname,'image'); 340 if ~isempty(NbSlice_calib) 341 MaskData.ZIndex=mod(i1_series{iview}(index)-1,NbSlice_calib{iview})+1;%Zindex for phys transform 342 end 340 343 if ~isempty(transform_fct) && nargin(transform_fct)>=2 341 344 MaskData=transform_fct(MaskData,XmlData{iview}); -
trunk/src/series/stereo_civ.m
r1126 r1152 95 95 time=[]; 96 96 for iview=1:size(Param.InputTable,1) 97 XmlFileName=find_imadoc(Param.InputTable{iview,1},Param.InputTable{iview,2} ,Param.InputTable{iview,3},Param.InputTable{iview,5});97 XmlFileName=find_imadoc(Param.InputTable{iview,1},Param.InputTable{iview,2}); 98 98 if isempty(XmlFileName) 99 99 disp_uvmat('ERROR', [XmlFileName ' not found'],checkrun)
Note: See TracChangeset
for help on using the changeset viewer.