Gets and sets the target contrast between foreground and background for the adjusted image.
Read-write property
Visual Basic |
---|
Public Property targetContrast() As Byte |
The default value is 127.
Valid values are 1 to 255.
Note: 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.