isBlank and "AccountForMargins" param

Discussions about image processing and document imaging.
Post Reply
ondrejha
Posts: 2
Joined: Tue Feb 19, 2013 1:02 pm

isBlank and "AccountForMargins" param

Post by ondrejha » Tue Feb 19, 2013 1:12 pm

Hi guys,
please, could you be more specific on "AccountForMargins" parameter of isBlank method?
I mean how big is the margin removed before actual blank analyze (e.g. 2 mm) ?

Thank you!
Ondrej

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: isBlank and "AccountForMargins" param

Post by SamiKharma » Wed Feb 20, 2013 10:42 am

Hi,

It is one fourteenth of the image width for the left and right margins, and the same ratio to the image's height for the top and bottom ones.

Best,
Sami

ondrejha
Posts: 2
Joined: Tue Feb 19, 2013 1:02 pm

Re: isBlank and "AccountForMargins" param

Post by ondrejha » Thu Feb 21, 2013 7:13 pm

Thank you, Sami.
So it means, if i calculate them correctly, for A4 image:

- left and right margin: each 15 mm
- top and bottom margin: each 21.2 mm

What do you think about configurable margins?

Regards,
Ondrej

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 0 guests