Instantiates a new BlankRectangleDetectOptions object with specified values.
Syntax
'Declaration
Public Function New( _
ByVal As Rectangle, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As Integer, _
ByVal 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 ,
bool ,
int ,
int ,
int
)
public: BlankRectangleDetectOptions(
Rectangle ,
bool ,
int ,
int ,
int
)
public:
BlankRectangleDetectOptions(
Rectangle ,
bool ,
int ,
int ,
int
)
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
See Also