Ignore:
Timestamp:
Jan 14, 2017, 8:46:35 PM (8 years ago)
Author:
sommeria
Message:

read cine updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ2vel_3C.m

    r977 r981  
    232232    % get the surface shape corresponding to the PIV measurements
    233233    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;       
    236235        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']);
    237237            % Data{1}: =raw PIV camera 1 only
    238238            % Data{2}: =raw PIV camera 2 only
     
    321321           
    322322        end
    323        
     323        if NbView>2
    324324        ZItemp(:,:,idtemp)=griddata(Xphys,Yphys,Zphys,XI,YI); %interpolation on the choosen grid
     325        end
    325326       
    326327    end
Note: See TracChangeset for help on using the changeset viewer.