ImageColor Property
Applies To
Vision Sequence
Description
Specifies how the color image is acquired.
Usage
VGet Sequence.ImageColor, var
VSet Sequence.ImageColor, value
- Sequence
- Name of a sequence or string variable containing a sequence name.
- var
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
- 1 - All
- Vision constant: VISION_IMAGECOLOR_ALL
- Acquire all three color bands: Red, Green, and Blue.
- 2 - Red
- Vision constant: VISION_IMAGECOLOR_RED
- Acquire only the red color band.
- 3 - Green
- Vision constant: VISION_IMAGECOLOR_GREEN
- Acquire only the green color band.
- 4 - Blue
- Vision constant: VISION_IMAGECOLOR_BLUE
- Acquire only the blue color band.
- 5 - Grayscale
- Vision constant: VISION_IMAGECOLOR_GRAYSCALE
- Acquire a grayscale image.
Default: 1 - All
Remarks
Use the ImageColor property to configure which color band(s) to acquire. This property is only available for color cameras.