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.VisionAssembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
public void SetMaskBlueGreenRed(
byte maskVal,
byte blueVal,
byte greenVal,
byte redVal
)
public void SetMaskBlueGreenRed(
byte maskVal,
byte blueVal,
byte greenVal,
byte redVal
)
Public Sub SetMaskBlueGreenRed (
maskVal As Byte,
blueVal As Byte,
greenVal As Byte,
redVal As Byte
)
Public Sub SetMaskBlueGreenRed (
maskVal As Byte,
blueVal As Byte,
greenVal As Byte,
redVal As Byte
)
public:
void SetMaskBlueGreenRed(
unsigned char maskVal,
unsigned char blueVal,
unsigned char greenVal,
unsigned char redVal
)
public:
void SetMaskBlueGreenRed(
unsigned char maskVal,
unsigned char blueVal,
unsigned char greenVal,
unsigned char 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.
Changed Raised when the color map changes.