LumaConversionMode Enumeration |
Modes that can be used to derive a monochrome luma value from a colour RGB image.
Namespace:
ASCOM.Utilities.Video
Assembly:
ASCOM.Utilities.Video (in ASCOM.Utilities.Video.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic enum LumaConversionMode
Public Enumeration LumaConversionMode
public enum class LumaConversionMode
Members|
| Member name | Value | Description |
|---|
| R | 0 |
The luma is the the R value of the colour image.
|
| G | 1 |
The luma is the G value of the colour image.
|
| B | 2 |
The luma is the B value of the colour image.
|
| GrayScale | 3 |
The luma is derived using the RGB to YUV conversion formula: Y = 0.299 R + 0.587 G + 0.114 B
|
See Also