ScanFix Xpress v9.0 for .NET - Updated
BrightnessContrastOptions Constructor(BrightnessContrastAdjustment,Int32,Byte,Byte,Byte,Int32,Int32,Byte,Byte,Byte)




Accusoft.ScanFixXpressSdk Namespace > BrightnessContrastOptions Class > BrightnessContrastOptions Constructor : BrightnessContrastOptions Constructor(BrightnessContrastAdjustment,Int32,Byte,Byte,Byte,Int32,Int32,Byte,Byte,Byte)
Type of contrast adjustment to perform on the image.
Amount of effort to expend analyzing the image to determine contrast.
Target brightness level for background of adjusted image.
Target contrast between foreground and background for the adjusted image.
Largest possible variance in brightness across the image.
Percentile level for lowest brightness that will be adjusted.
Percentile level for highest brightness that will be adjusted.
Maximum contrast change for dark pixels.
Maximum contrast change for middle-range pixels.
Maximum contrast change for light pixels.
Instantiates a new BrightnessContrastOptions object with the specified property values.
Syntax
'Declaration
 
Public Function New( _
   ByVal adjustment As BrightnessContrastAdjustment, _
   ByVal quality As Integer, _
   ByVal targetBrightness As Byte, _
   ByVal targetContrast As Byte, _
   ByVal targetVariance As Byte, _
   ByVal minimumPercentile As Integer, _
   ByVal maximumPercentile As Integer, _
   ByVal contrastLimitDark As Byte, _
   ByVal contrastLimitMiddle As Byte, _
   ByVal contrastLimitLight As Byte _
)
'Usage
 
Dim adjustment As BrightnessContrastAdjustment
Dim quality As Integer
Dim targetBrightness As Byte
Dim targetContrast As Byte
Dim targetVariance As Byte
Dim minimumPercentile As Integer
Dim maximumPercentile As Integer
Dim contrastLimitDark As Byte
Dim contrastLimitMiddle As Byte
Dim contrastLimitLight As Byte
 
Dim instance As New BrightnessContrastOptions(adjustment, quality, targetBrightness, targetContrast, targetVariance, minimumPercentile, maximumPercentile, contrastLimitDark, contrastLimitMiddle, contrastLimitLight)

Parameters

adjustment
Type of contrast adjustment to perform on the image.
quality
Amount of effort to expend analyzing the image to determine contrast.
targetBrightness
Target brightness level for background of adjusted image.
targetContrast
Target contrast between foreground and background for the adjusted image.
targetVariance
Largest possible variance in brightness across the image.
minimumPercentile
Percentile level for lowest brightness that will be adjusted.
maximumPercentile
Percentile level for highest brightness that will be adjusted.
contrastLimitDark
Maximum contrast change for dark pixels.
contrastLimitMiddle
Maximum contrast change for middle-range pixels.
contrastLimitLight
Maximum contrast change for light pixels.
See Also

Reference

BrightnessContrastOptions Class
BrightnessContrastOptions Members
Overload List

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