ScanFix Xpress v9.0 for .NET - Updated
DetectColorOptions Constructor(Boolean,Byte,Byte,Int32,Byte,Boolean,Byte)




Accusoft.ScanFixXpressSdk Namespace > DetectColorOptions Class > DetectColorOptions Constructor : DetectColorOptions Constructor(Boolean,Byte,Byte,Int32,Byte,Boolean,Byte)
Whether to ignore the paper color.
Minimum saturation ("S" in HSV color space) required for a pixel to be considered "color".
Minimum brightness ("V" in HSV color space) required for a pixel to be considered "color".
Minimum size, length and width, required for a saturated object to be considered colored data.
How many saturated objects are required for a high confidence IsColor result.
Whether to generate a list of bounding boxes in the results.
Percentage of area (smaller box) that must intersect before bounding boxes are merged.
Instantiates a new DetectColorOptions object setting the specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal ignorePaperColor As Boolean, _
   ByVal minimumSaturation As Byte, _
   ByVal minimumBrightness As Byte, _
   ByVal minimumSize As Integer, _
   ByVal sensitivity As Byte, _
   ByVal generateBoxes As Boolean, _
   ByVal boxOverlap 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)
public DetectColorOptions( 
   bool ignorePaperColor,
   byte minimumSaturation,
   byte minimumBrightness,
   int minimumSize,
   byte sensitivity,
   bool generateBoxes,
   byte boxOverlap
)
public: DetectColorOptions( 
   bool ignorePaperColor,
   byte minimumSaturation,
   byte minimumBrightness,
   int minimumSize,
   byte sensitivity,
   bool generateBoxes,
   byte boxOverlap
)
public:
DetectColorOptions( 
   bool ignorePaperColor,
   byte minimumSaturation,
   byte minimumBrightness,
   int minimumSize,
   byte sensitivity,
   bool generateBoxes,
   byte 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

Reference

DetectColorOptions Class
DetectColorOptions Members
Overload List

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