Adaptive denoising filtering for object detection applications