ScanFix Xpress v9.0 for .NET - Updated
TargetContrast Property




Accusoft.ScanFixXpressSdk Namespace > BrightnessContrastOptions Class : TargetContrast Property
Gets and sets the target contrast between foreground and background for the adjusted image.
Syntax
'Declaration
 
Public Property TargetContrast As Byte
'Usage
 
Dim instance As BrightnessContrastOptions
Dim value As Byte
 
instance.TargetContrast = value
 
value = instance.TargetContrast
public byte TargetContrast {get; set;}
public: __property byte get_TargetContrast();
public: __property void set_TargetContrast( 
   byte value
);
public:
property byte TargetContrast {
   byte get();
   void set (    byte value);
}
Remarks

The default value is 127.

Valid values are 1 to 255.

This value sets the target contrast for document images, where contrast is calculated by comparing the 50th and 1st percentile brightness across the image. Images that have a contrast below the target range will have a contrast correction method recommended.

See Also

Reference

BrightnessContrastOptions Class
BrightnessContrastOptions Members

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