Text this: A noise elimination procedure for wavelet-based printed circuit board inspection system