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

1 commentaire

Chandra Shekhar
Chandra Shekhar le 29 Mar 2013
There is no image in that link,it is saying doesn't exist.

Connectez-vous pour commenter.

 Réponse acceptée

Chandra Shekhar
Chandra Shekhar le 29 Mar 2013

0 votes

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

4 commentaires

Soumyadip
Soumyadip le 30 Mar 2013
The link to the image is - http://i49.tinypic.com/33y25u0.png... I think now its working
Soumyadip
Soumyadip le 30 Mar 2013
I tried applying histeq but neighboring regions other than the digits are also turning out to the black which is undesirable. What to do?
Soumyadip
Soumyadip le 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 le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by