Text extraction from a binary image

I am doing a project to read the data on a calculator screen via image processing. I need to make the image binary in such a way that only the digits in the image appear black and the rest is white. Can I do it with any image enhancement tool? Please suggest. Can somebody do it for me?
The link to the image is -
Thanks in advance

 采纳的回答

use 'histeq' function for enhancement or use 'adapthisteq' by choosing proper clipping range.
After applying this method convert to binary.

4 个评论

The link to the image is - http://i49.tinypic.com/33y25u0.png... I think now its working
I tried applying histeq but neighboring regions other than the digits are also turning out to the black which is undesirable. What to do?
I applied adapthisteq and converted to binary but I am getting dark patches like -
Please advise how to remove the dark regions
See my answer to your duplicate question. I got the numbers out of there using color segmentation and some standard image processing to clean up some noise. I didn't even have to do background correction. You should not accept an answer if it didn't answer your question.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by