Institute of Physics Publishing Journal of Optics A: Pure and Applied Optics Online Pattern Recognition in Noisy Background by Means of Wavelet Coefficients Thresholding