Accusoft.ImagXpress12.Net
DocumentBlankPageDetect(Int32,Int32,Int32,Boolean) Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > Processor Class > DocumentBlankPageDetect Method : DocumentBlankPageDetect(Int32,Int32,Int32,Boolean) Method




Margin
An integer value which represents the number of rows of pixels to ignore on the edges (top, left, right and bottom) of the image. If IgnoreBorder is set to false, this margin applies to the sides of the original image. If IgnoreBorder is true, this margin is applied to the sides of the page, inside the detected border.
MinObjectDimension
An integer value which represents the minimum width or height of a black object considered non-blank. Set it higher to ignore larger objects (causing more pages to be considered blank) or lower to notice smaller objects (causing more pages to be considered non-blank).
GapFill
An integer value which represents the maximum spacing between black objects considered connected. Set it higher to cause broken objects to be considered as two parts of a larger object (causing more pages to be considered non-blank) or lower to cause neighboring black objects to be treated separately (causing more pages to be considered blank).
IgnoreBorder
A boolean value which is true to do a quick search for over scan in the border, then moves the detection area inside the detected over scanned border. If this property is set to true and the image does not have an actual border, there is a possibility that the method will return a false positive.

Glossary Item Box

Examines a rectangle on an image, determining if the page is considered blank, based on the amount of data on the page.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

Margin
An integer value which represents the number of rows of pixels to ignore on the edges (top, left, right and bottom) of the image. If IgnoreBorder is set to false, this margin applies to the sides of the original image. If IgnoreBorder is true, this margin is applied to the sides of the page, inside the detected border.
MinObjectDimension
An integer value which represents the minimum width or height of a black object considered non-blank. Set it higher to ignore larger objects (causing more pages to be considered blank) or lower to notice smaller objects (causing more pages to be considered non-blank).
GapFill
An integer value which represents the maximum spacing between black objects considered connected. Set it higher to cause broken objects to be considered as two parts of a larger object (causing more pages to be considered non-blank) or lower to cause neighboring black objects to be treated separately (causing more pages to be considered blank).
IgnoreBorder
A boolean value which is true to do a quick search for over scan in the border, then moves the detection area inside the detected over scanned border. If this property is set to true and the image does not have an actual border, there is a possibility that the method will return a false positive.

Remarks

Use this function for a single margin value for all margins.

ImagXpress examines an image and determines if it is blank or not, using parameters provided. The current image remains unchanged.

Note: Available in Professional edition.

See Also

©2013. Accusoft Corporation. All Rights Reserved.