Adaptive denoising method to improve aberration measurement performance