MaskGraphic SetMaskBlueGreenRed Method (Byte, Byte, Byte, Byte)Cognex VisionPro 9.10

Set just the Blue, Green, and Red components of the color associated with the specified mask value. The Alpha component of that entry is unchanged.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public void SetMaskBlueGreenRed(
	byte maskVal,
	byte blueVal,
	byte greenVal,
	byte redVal
)

Parameters

maskVal
Type: System Byte
The mask pixel value.
blueVal
Type: System Byte
The desired new Blue component of the specified color entry.
greenVal
Type: System Byte
The desired new Green component of the specified color entry.
redVal
Type: System Byte
The desired Red component of the specified color entry.
Remarks

Changed Raised when the color map changes.

See Also