I have about 500 pages of PNGs representing a schematic for an early 1980s era DIGITAL DECsystem-20 KL10PV mainframe (publicly available). The scanning process was flawed in that randomly interspersed in the PNGs are white lines that represent systematic "salt" in the drawing. This is interfering with the process I'm using to recover the schematic - both the OCR and the recovery of the netlist of the components and interconnections.
A full schematic page with red marks around an example area showing the problem I'm talking about is here.
What magical OpenCV mechanism can I use to detect these white strips and "heal" them by copying the average of the row above and the row below, or similar? I expect to try several "healing" techniques to find the best one once I find a mechanism to identify these flaws systematically.