ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Filter to improve OCR
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

marcosoraggi

Brazil
3 Posts

Posted - Sep 22 2014 :  13:32:09  Show Profile  Reply
I'm having problems to OCR images that are not clear. Images with a dirty background making hard to distinguish the text.

I would like to apply filters to make the text more clear. I'm opened to suggestions. My first idea is to try to filter all pixels that are black. How can I do that in ImageEn?

Thanks!

Marco

spetric

Croatia
308 Posts

Posted - Sep 22 2014 :  15:03:21  Show Profile  Reply
Hi,

Try to use TImageEnProc.RemoveIsolatedPixels method, to get rid of black pixels.
Check the help file for examples.


Go to Top of Page

marcosoraggi

Brazil
3 Posts

Posted - Sep 22 2014 :  16:58:36  Show Profile  Reply
RemoveIsolatedPixels and RemoveNoise work only with black/white images. I'm looking for a solution for colored images.
Go to Top of Page

xequte

39142 Posts

Posted - Sep 23 2014 :  03:13:52  Show Profile  Reply
Hi

Can you insert an example of the kind of image you are trying to clean.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

marcosoraggi

Brazil
3 Posts

Posted - Sep 23 2014 :  06:27:17  Show Profile  Reply
Unfortunatelly, I can not. They are my client images and don't permission to share them.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Sep 23 2014 :  08:00:49  Show Profile  Reply
As far as I know... there are no ImageEn procedures that will do this satisfactorily. I have tried many times to clean my scans (remove black dots and extraneous blotches) using various procedures without much success.

Having said that, Nigel has expressed that he would like to look into this, but without some sort of test images he will have nothing to work with.

If you really need this feature then I suggest you either get permission from your client to send an image or two to the ImageEn staff or create some similar images with your scanner with the same bit-depth. You do not have to post the images. Just send them directly to Nigel via email.

A RemoveIsolatedPixels procedure that will work with black & white, 8-bit or 24-bit images would be a great addition to ImageEn that most everyone who uses ImageEn scanner functions would value highly.

If we work together maybe we can develop some method(s) that work to clean images with the typical artifacts that you get when using scanners. If not... you are stuck with the images you scan.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

SharkFinMike

1 Posts

Posted - Oct 06 2014 :  04:20:03  Show Profile  Reply
Perhaps this paper - "Removal of Artifacts from JPEG Compressed Document Images" - from http://www.cs.rpi.edu/~oztanb/Papers/spie07paper.pdf may be of assistance?

Regards,

Mike
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: