Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
System
Drawing
PixelData
GetIntensityByte
System.Drawing.PixelData.GetIntensityByte C# (CSharp) Method
PixelData Class Documentation
Mostra file
Open project: garuma/apachai
GetIntensityByte()
public
method
Gets the luminance intensity of the pixel based on the values of the red, green, and blue components. Alpha is ignored.
public
GetIntensityByte
( ) :
byte
return
byte
public byte GetIntensityByte() { return (byte)((7471 * B + 38470 * G + 19595 * R) >> 16); }
PixelData
FromBgr
FromBgra
FromBgraClamped
FromUInt32
GetIntensity
GetIntensityByte
this