Changeset 981 for trunk/src/series
- Timestamp:
- Jan 14, 2017, 8:46:35 PM (8 years ago)
- Location:
- trunk/src/series
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ2vel_3C.m
r977 r981 232 232 % get the surface shape corresponding to the PIV measurements 233 233 for indextemp=field_index:field_index+1;%TODO: generalise to field index intervals>1 for PIV 234 idtemp=idtemp+1; 235 InputFile_3=fullfile(Param.InputTable{3,1},Param.InputTable{3,2},[Param.InputTable{3,3} '_' int2str(first_img+indextemp-1) '.nc']); 234 idtemp=idtemp+1; 236 235 if NbView==3 % if there is only 1 stereo folder (2 cameras only), extract directly Xphys,Yphys and Zphys 236 InputFile_3=fullfile(Param.InputTable{3,1},Param.InputTable{3,2},[Param.InputTable{3,3} '_' int2str(first_img+indextemp-1) '.nc']); 237 237 % Data{1}: =raw PIV camera 1 only 238 238 % Data{2}: =raw PIV camera 2 only … … 321 321 322 322 end 323 323 if NbView>2 324 324 ZItemp(:,:,idtemp)=griddata(Xphys,Yphys,Zphys,XI,YI); %interpolation on the choosen grid 325 end 325 326 326 327 end -
trunk/src/series/civ_series.m
r977 r981 302 302 end 303 303 end 304 if isempty(Time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video' })))% case of video input304 if isempty(Time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video','cine_phantom'})))% case of video input 305 305 Time=zeros(FileInfo_A.NumberOfFrames+1,2); 306 306 Time(:,2)=(0:1/FileInfo_A.FrameRate:(FileInfo_A.NumberOfFrames)/FileInfo_A.FrameRate)';
Note: See TracChangeset
for help on using the changeset viewer.