ScanFix Xpress v9.0 for .NET - Updated
BlankRectangleDetectOptions Constructor(Rectangle,Boolean,Int32,Int32,Int32)




Accusoft.ScanFixXpressSdk Namespace > BlankRectangleDetectOptions Class > BlankRectangleDetectOptions Constructor : BlankRectangleDetectOptions Constructor(Rectangle,Boolean,Int32,Int32,Int32)
The rectangle specifying the location to examine for blankness.
A flag that tells the operation to do a quick search for overscan in the border, and will adjust the detection area to move it inside the detected overscanned border.
The minimum width or height of a black object that should be considered non-blank.
The maximum spacing between black objects that should be considered connected.
The minimum contrast between foreground and background for color and gray images
Instantiates a new BlankRectangleDetectOptions object with specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal area As Rectangle, _
   ByVal ignoreBorder As Boolean, _
   ByVal minimumObjectDimension As Integer, _
   ByVal gapFill As Integer, _
   ByVal minimumContrast As Integer _
)
'Usage
 
Dim area As Rectangle
Dim ignoreBorder As Boolean
Dim minimumObjectDimension As Integer
Dim gapFill As Integer
Dim minimumContrast As Integer
 
Dim instance As New BlankRectangleDetectOptions(area, ignoreBorder, minimumObjectDimension, gapFill, minimumContrast)
public BlankRectangleDetectOptions( 
   Rectangle area,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill,
   int minimumContrast
)
public: BlankRectangleDetectOptions( 
   Rectangle area,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill,
   int minimumContrast
)
public:
BlankRectangleDetectOptions( 
   Rectangle area,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill,
   int minimumContrast
)

Parameters

area
The rectangle specifying the location to examine for blankness.
ignoreBorder
A flag that tells the operation to do a quick search for overscan in the border, and will adjust the detection area to move it inside the detected overscanned border.
minimumObjectDimension
The minimum width or height of a black object that should be considered non-blank.
gapFill
The maximum spacing between black objects that should be considered connected.
minimumContrast
The minimum contrast between foreground and background for color and gray images
Remarks
Use this in order to the MinimumContrast property is set to the desired value.
See Also

Reference

BlankRectangleDetectOptions Class
BlankRectangleDetectOptions Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.