Tech Helproom
It's free to register, to post a question or to start / join a discussion
Adjust Contrast Of Scanned Image
Likes # 0
Posted November 25, 2012 at 1:48PM
I've been doing some local history research which has involved printing out various newspaper articles held on library film. Some of these images are quite dark and scanning the prints prior to OCR'ing them has resulted in black 'text' on a relatively dark grey background. The resultant OCR'd text files are at best full of errors. I'm looking for a way of enhancing the contrast of the scanned images to improve the accuracy of the OCR process. Any ideas??
Likes # 0
Posted November 25, 2012 at 2:59PM
What image program are you using?
If you are just using a scanner, then download Irfanview and use that to enhance the image. You may also have trouble with your OCR program not recognising some old typefaces but there's not a lot you can do about that.
Likes # 0
Posted November 25, 2012 at 3:03PM
You should be able to scan in black and white only or other settings that may well reduce the problems of black on grey.
Likes # 0
Posted November 25, 2012 at 4:41PM
I have IrfanView, but I cannot work our how to enhance contrast. In an ideal world I would be able to convert the mottled grey background to white!
Likes # 0
Posted November 25, 2012 at 5:08PM
Open your image, go to top toolbar >image > color corection and use the contrast and brighness controls > save as same name-1
Likes # 0
Posted November 25, 2012 at 5:20PM
Thanks. That looks promising. I'll give it a try.
Likes # 0
Posted November 25, 2012 at 11:53PM
The IrfanView contrast tweak makes the scanned text look and read much better but actually worsens the OCR results!
Any more ideas, please?
Likes # 0
Posted November 26, 2012 at 7:52AM
When scanning newspaper text the reverse side of the page often can show through... to avoid this what I always do is have a piece of black card on top of the page that I'm scanning...
This does tend to make the "white" on the page you are scanning darker, but increasing the brightness and contrast of the subsequent image usually produces a good result.
Also, I would scan in "Greyscale" rather than "Black and White", (which can produce a very "blocky" result).
In Irfanview the brightness/contrast adjustments are via the Menu bar under Image>Color Corrections.
Hope this helps.
Regards,
Simsy
Likes # 0
Posted November 26, 2012 at 11:18AM
Thanks for the reply. The newspapers I'm copying are stored on film, so I cannot physically adjust the image result by inserting dark card. I can obtain a print out of these film images but to lighten the background often adversely affects the boldness and readability of the text. Experience to date confirms that greyscale scans of the printouts are superior to black/white, but that colour scans are even better.
Likes # 0
Posted November 26, 2012 at 1:00PM
Unfortunately most OCR programs on recognise modern fonts. I have often had this problem, I have a copy of ABBYY finereader 7 that does a fair job of it but it still has its moments.
Likes # 0
Posted December 25, 2012 at 8:38PM
Simsy makes a good point about avoiding scanning in black and white but, as daft as it may sound, I find colour scans of monochrome text images work better than greyscale for the purposes of OCR'ing.
Thank you all for your responses, but it seems there isn't a magic bullet for this problem.
Reply to this topic
This thread has been locked.
Check out PC Advisor's other tech forums
Top 5 Most Popular
-
New Xbox One release date, specs, features and price in UK
-
Samsung Galaxy S4 vs Apple iPhone 5 comparison review
-
Galaxy S4 vs BlackBerry Z10 comparison review - which is best, the Samsung or the BlackBerry?
-
Microsoft Windows 8 review
-
Best cases and covers for the new iPad: protect your tablet in style



