LuminanceMetric

References
public enum LuminanceMetric
Enumerates the available metrics for luminance computations. When in doubt, use YCbCrGammaAdjusted.

Enum values

NameValueDescription
Average100Compute the straight-up average of red, green and blue. This approach is exceedingly naïve and does not yield good luminance values.
Desaturate101Compute the luminance by removing the saturation. This method results in softer luminance mapping and only takes the highest and lowest RGB values into account.
YCbCrPhotometric102Standard ITU BT.601 luma coefficients on RGB channels. This is a very common luminance metric used in software everywhere.
HdtvPhotometric103Standard ITU BT.709 luma coefficients on RGB channels. This metric was designed for HDTV and probably yields worse results on most computer screens than PhotometricYCbCr.
YCbCrGammaAdjusted104Standard ITU BT.601 luma coefficients on gamma adjusted RGB channels. This metric yields results in close agreement with human perception.
HdtvGammaAdjusted105Standard ITU BT.709 luma coefficients on gamma adjusted RGB channels. This metric was designed for HDTV and probably yields worse results on most computer screens than GammaAdjustedYCbCr.
YCbCrPerceived106Standard ITU BT.601 luma coefficients on non-linear RGB channels. This metric yields the best results on most computer screens.
HdtvPerceived107Standard ITU BT.709 luma coefficients on non-linear RGB channels. This metric was designed for HDTV and probably yields worse results on most computer screens than PerceivedYCbCr.