I have a table with horizontal and vertical lines.Some lines are not solid because of poor image quality. This jeopardizes my approach to extract horizontal and vertical lines with line filter. Maybe I should convert dashed lines to solid lines first, then follow some procedures like erode and dilate, but I don't kown how, any advice?