I have a few images that has some random letters and numbers (total length is 5).
white background and black text.

each image contains a single horizontal line that goes randomly through or under or above the text, the line has some random curve.

I want to remove that line from each of the images in C#.