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
 Change background color
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Carlos Borrero

Colombia
4 Posts

Posted - Oct 15 2016 :  23:08:07  Show Profile  Reply
Hello Nigel:

How can I change background to white and remove noise on the following image?



Kind regards,


Carlos Borrero

Carlos Borrero

Colombia
4 Posts

Posted - Oct 16 2016 :  12:34:43  Show Profile  Reply
The following attempts don't get to the expected results:

- Image continues with some yellow background: ImageEnView.Proc.WhiteBalance_AutoWhite;
- Image becomes unreadable: ImageEnView.Proc.ConvertToBW_FloydSteinberg;
- Text becomes unsuitable for OCR: ImageEnView.Proc.ConvertToBWThreshold(-2);

Expected results are: clear image (white background) with text suitable for OCR.

Carlos Borrero
Go to Top of Page

xequte

38615 Posts

Posted - Oct 17 2016 :  00:40:52  Show Profile  Reply
Hi Carlos

The image looks too dirty for really good OCR (text bleed from other side of page, for example). But you can remove the yellow tinge by reducing the saturation and improving the contrast. It is best to test the effects using Image > Adjust Colors in the PhotoEn demo.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: