Contrast Property

NI Vision for Visual Basic

Contrast Property

Syntax

CWIMAQColor.Contrast

Data Type

Double

Purpose

Contrast of the image. This value is a scaling factor applied to every pixel. The contrast adjustment is centered around the median pixel value. For example, an 8-bit image is centered around 128. The range is 0.5 to 1.5 with a default of 1.00.

Remarks

This property is valid only for color and StillColor acquisitions.