Text extraction from a binary image

2 views (last 30 days)
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
  1 Comment
Chandra Shekhar
Chandra Shekhar on 29 Mar 2013
There is no image in that link,it is saying doesn't exist.

Sign in to comment.

Accepted Answer

Chandra Shekhar
Chandra Shekhar on 29 Mar 2013
use 'histeq' function for enhancement or use 'adapthisteq' by choosing proper clipping range.
After applying this method convert to binary.
  4 Comments
Soumyadip
Soumyadip on 30 Mar 2013
I applied adapthisteq and converted to binary but I am getting dark patches like -
Please advise how to remove the dark regions
Image Analyst
Image Analyst on 31 Mar 2013
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!