Shrediquette / PIVlab

Particle Image Velocimetry for Matlab, official repository
https://shrediquette.github.io/PIVlab/
MIT License
140 stars 34 forks source link

limit peak search area fails in old matlab releases #43

Closed Shrediquette closed 3 years ago

Shrediquette commented 3 years ago

Because "mean" does not accept multiple dimensions in older releases: ??? Error using ==> sum Dimension argument must be a positive integer scalar within indexing range.

Error in ==> mean at 30 y = sum(x,dim)/size(x,dim);

Error in ==> piv_FFTmulti at 655 bg_sig=(1-emptymatrix).*mean(result_conv,1:2); %zeros in middle, average correlation value in the remaining space

Error in ==> PIVlab_GUI>AnalyzeSingle_Callback at 4689 [x, y, u, v, typevector,correlation_map] = piv_FFTmulti (image1,image2,interrogationarea, step, subpixfinder, mask, roirect,passes,int2,int3,int4,imdeform,repeat,mask_auto,do_pad);

??? Error while evaluating uicontrol Callback

Shrediquette commented 3 years ago

fixed in 2.44