Watch this Author's files

The despiking process is 3 times faster if lines 100-106 in function "func_excludeoutlier_ellipsoid3d.m" >> z2 = -sqrt(zt); elseif z1 > 0 z2 = sqrt(zt); else z2 = 0; end

are replaced by this one-liner:

z2=sign(z1)*sqrt(zt);

Thanks for these functions.

Contact us