I have black and white images with 1 pixel width white horizonal lines going through the image. How to detect the lines and remove it?