Replace the raster of line drawings with clean lines of uniform width. From the raster of line drawings, extract a series of line segment objects (polylines) and calculate the line width for each polyline. Then, replace the noisy polyline image with a raster rendered with uniform line width.
Original raster of line drawingsRaster of line drawings beautified with uniform line width