Method | Description | |
---|---|---|
ToLuminance ( BGRb src ) : byte | ||
ToLuminance ( byte red, byte green, byte blue ) : byte |
Convert three byte values of Red, Green, Blue, into their luminace values. The returned result is guaranteed to be in the range of [0 - 255] based on the calculation of the factor arrays.
|
Method | Description | |
---|---|---|
NTSCGray ( ) : System |
public static ToLuminance ( BGRb src ) : byte | ||
src | BGRb | |
return | byte |
public static ToLuminance ( byte red, byte green, byte blue ) : byte | ||
red | byte | A byte of red |
green | byte | A byte of green |
blue | byte | A byte of blue |
return | byte |