BCGOptions

NI Vision for LabWindows/CVI Function

BCGOptions

The parameters a function uses to transform an image.

Elements

Name

Type

Description

brightness float Adjusts the brightness of the image. A value of 128 leaves the brightness unchanged. Values below 128 darken the image, and values above 128 brighten the image.
contrast float Adjusts the contrast of the image. A value of 45 leaves the contrast unchanged. Values below 45 decrease the contrast, and values above 45 increase the contrast.
gamma float Performs gamma correction. A value of 1.0 leaves the image unchanged. Values below 1.0 enhance contrast for darker pixel at the expense of the brighter pixels. Values above 1.0 enhance contrast for brighter pixels at the expense of darker pixels.