Instantiates a new DetectColorOptions object setting the specified values.
Syntax
'Declaration
<DebuggerStepThroughAttribute()>
<DebuggerNonUserCodeAttribute()>
Public Function New( _
ByVal As Boolean, _
ByVal As Byte, _
ByVal As Byte, _
ByVal As Integer, _
ByVal As Byte, _
ByVal As Boolean, _
ByVal As Byte _
)
'Usage
Dim ignorePaperColor As Boolean
Dim minimumSaturation As Byte
Dim minimumBrightness As Byte
Dim minimumSize As Integer
Dim sensitivity As Byte
Dim generateBoxes As Boolean
Dim boxOverlap As Byte
Dim instance As New DetectColorOptions(ignorePaperColor, minimumSaturation, minimumBrightness, minimumSize, sensitivity, generateBoxes, boxOverlap)
Parameters
- ignorePaperColor
- Whether to ignore the paper color.
- minimumSaturation
- Minimum saturation ("S" in HSV color space) required for a pixel to be considered "color".
- minimumBrightness
- Minimum brightness ("V" in HSV color space) required for a pixel to be considered "color".
- minimumSize
- Minimum size, length and width, required for a saturated object to be considered colored data.
- sensitivity
- How many saturated objects are required for a high confidence IsColor result.
- generateBoxes
- Whether to generate a list of bounding boxes in the results.
- boxOverlap
- Percentage of area (smaller box) that must intersect before bounding boxes are merged.
See Also