Text this: Noise elimination for image subtraction in printed circuit board defect detection algorithm