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
 Detecting Blank Pages
 New Topic  Reply to Topic
Author  Topic Next Topic  

jeffp

USA
35 Posts

Posted - Oct 23 2024 :  14:05:57  Show Profile  Reply
We process a lot of scanned images with our application. As such, we have a feature that allows for the removal of blank pages during this process.

However, it seems we almost always get a False value from IEBitmap.IsBlank even when the page looks all white. I believe this is because there still are some pixels on the image that aren't white.

Is there a way for me to get that value of white pixels or what percentage is white, so that I can still remove some of these "blank" pages using my own threshold numbers and not relying entirely on IsBlank, which isn't working for us now.

Thanks.



jp

xequte

38541 Posts

Posted - Oct 23 2024 :  17:53:06  Show Profile  Reply
Hi Jeff

You can use:

http://www.imageen.com/help/TImageEnProc.GetDominantColor.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
Jump To: