Changeset 878 for trunk/src/series/civ_series.m
- Timestamp:
- Feb 23, 2015, 10:17:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r876 r878 324 324 %%%%% MAIN LOOP %%%%%% 325 325 maskname='';% initiate the mask name 326 tic; 326 327 for ifield=1:NbField 327 328 if ~isempty(RUNHandle)% update the waitbar in interactive mode with GUI series (checkrun=1) … … 852 853 end 853 854 end 855 disp(['ellapsed time ' num2str(toc) ' s']) 854 856 855 857 % 'civ': function piv.m adapted from PIVlab http://pivlab.blogspot.com/ … … 1024 1026 XIant=XI-par_civ.DUDX(ivec)*XI-par_civ.DUDY(ivec)*YI+ceil(size(image1_crop,2)/2); 1025 1027 YIant=YI-par_civ.DVDX(ivec)*XI-par_civ.DVDY(ivec)*YI+ceil(size(image1_crop,1)/2); 1026 image1_crop_1=image1_crop;1027 1028 image1_crop=interp2(image1_crop,XIant,YIant); 1028 image1_crop_2=image1_crop;1029 1029 image1_crop(isnan(image1_crop))=0; 1030 image1_crop_3=image1_crop;1031 1030 xi=(1:mesh:size(image2_crop,2)); 1032 1031 yi=(1:mesh:size(image2_crop,1))'; 1033 image2_crop=interp2(image2_crop,xi,yi );1032 image2_crop=interp2(image2_crop,xi,yi,'*spline'); 1034 1033 image2_crop(isnan(image2_crop))=0; 1035 par_civ.CorrSmooth=3;1034 %par_civ.CorrSmooth=3;%%%%%%%%%%%%%%%%%%% 1036 1035 %% 1037 1036 end
Note: See TracChangeset
for help on using the changeset viewer.