After a hard search, find a good site, share:
Useful Color equations
Http://www.brucelindbloom.com/index.html?Equations.html
Web page http://www.brucelindbloom.com/index.html?Equations.html
Collected most of the formulas for color space conversion
Useful Color equations
The following table contains links to mathematical equations for converting among various CIE color representations. An implementation of these is found in Mycie Color Calculator. You can see the from the This table that some color conversions is accomplished by a steps, while others may require Seve RAL Intermediate steps to reach the final goal.
| from
| to
XYZ |
XYY |
Lab |
LCHAB |
Luv |
LCHUV |
RGB |
Spectrum |
Spectrum to XYZ |
Spectrum to XYZ XYZ to XYY |
Spectrum to XYZ XYZ to Lab |
Spectrum to XYZ XYZ to Lab Lab to LCH (AB) |
Spectrum to XYZ XYZ to Luv |
Spectrum to XYZ XYZ to Luv Luv to LCH (UV) |
Spectrum to XYZ XYZ to RGB |
Xyz |
- |
XYZ to XYY |
XYZ to Lab |
XYZ to Lab Lab to LCH (AB) |
XYZ to Luv |
XYZ to Luv Luv to LCH (UV) |
XYZ to RGB |
Xyy |
XYY to XYZ |
- |
XYY to XYZ XYZ to Lab |
XYY to XYZ XYZ to Lab Lab to LCH (AB) |
XYY to XYZ XYZ to Luv |
XYY to XYZ XYZ to Luv Luv to LCH (UV) |
XYY to XYZ XYZ to RGB |
Lab |
Lab to XYZ |
Lab to XYZ XYZ to XYY |
- |
Lab to LCH (AB) |
Lab to XYZ XYZ to Luv |
Lab to XYZ XYZ to Luv Luv to LCH (UV) |
Lab to XYZ XYZ to RGB |
LCHAB |
LCH (AB) to Lab Lab to XYZ |
LCH (AB) to Lab Lab to XYZ XYZ to XYY |
LCH (AB) to Lab |
- |
LCH (AB) to Lab Lab to XYZ XYZ to Luv |
LCH (AB) to Lab Lab to XYZ XYZ to Luv Luv to LCH (UV) |
LCH (AB) to Lab Lab to XYZ XYZ to RGB |
Luv |
Luv to XYZ |
Luv to XYZ XYZ to XYY |
Luv to XYZ XYZ to Lab |
Luv to XYZ XYZ to Lab Lab to LCH (AB) |
- |
Luv to LCH (UV) |
Luv to XYZ XYZ to RGB |
LCHUV |
LCH (UV) to LUV Luv to XYZ |
LCH (UV) to LUV Luv to XYZ XYZ to XYY |
LCH (UV) to LUV Luv to XYZ XYZ to Lab |
LCH (UV) to LUV Luv to XYZ XYZ to Lab Lab to LCH (AB) |
LCH (UV) to LUV |
- |
LCH (UV) to LUV Luv to XYZ XYZ to RGB |
Rgb |
RGB to XYZ |
RGB to XYZ XYZ to XYY |
RGB to XYZ XYZ to Lab |
RGB to XYZ XYZ to Lab Lab to LCH (AB) |
RGB to XYZ XYZ to Luv |
RGB to XYZ XYZ to Luv LUV to LCH (AB) |
- |
Other Assorted equations
? Color differences
- Delta E (CIE 1976)
- Delta E (CIE 1994)
- Delta E (CMC)
? Convert from the correlated color temperature of a CIE d-illuminant to the chromaticity of that d-illuminant.
? Chromatic adaptation.
? Computing rgb-to-xyz and Xyz-to-rgb matrices.
? Murray-davies dot gain equation.
? Finding the best gamma from a data set.
? Spectral power distribution of a blackbody radiator.
Color Space Conversion formula