Below is a digitalized image of a document. Our goal is to extract the handwritten text and to remove the horizontal lines.
We remove the vertical lines using the same technique used on the previous activity(lunar image). The Fourier Transform of the image is shown below. To get rid of the horizontal lines, we have to block the frequencies corresponding to it. Thus, we introduced the filter below.
The resulting image is free of the horizontal lines. We then binarized this image and enhanced it using morphological operations.
Below is the final image. Though we are successful in getting rid of the horizontal lines and the extraction of the handwritten text, the quality is not enhanced. The letter count is 106 which is obviously higher than the actual number of letters in the text.
I was able to finish the activity. Though the lines were successfully removed, the extracted text is not well enhanced. I hope a 9 would be reasonable.
Subscribe to:
Post Comments (Atom)
1 comment:
Hi Mark,
The final result would need to be bridged together. For this a dilation using a thin rectangular structural element might do the trick.
Post a Comment