How to convert between sRGB and CIEXYZ | srgb xyz
Describingcolorhasalwaysbeenacomplexchallenge.CamerasprovidetheirimagedatainthecommonsRGBcolorspace,sochancesarehighthatanyimageyoureceivewithoutanyadditionalinformationisrepresentedbythecolorsinsRGB.Othercolorspaces,suchasthoserelatingtohumanvision,areusedfortheanalysisofcolor. Asthisanalysisisafrequenttask,wehavecreatedacolorcheatsheet,whichprovidesaquickoverviewofsRGBandCIE-XYZandtheequationsfortheirconversions. sRGBThe"s"insRGBstandsfor"standard"anditisthelowestcommondenominatori...
Describing color has always been a complex challenge. Cameras provide their image data in the common sRGB color space, so chances are high that any image you receive without any additional information is represented by the colors in sRGB. Other color spaces, such as those relating to human vision, are used for the analysis of color.
As this analysis is a frequent task, we have created a color cheat sheet, which provides a quick overview of sRGB and CIE-XYZ and the equations for their conversions.
sRGB
The "s" in sRGB stands for "standard" and it is the lowest common denominator in color spaces. It was developed in the 1990s to provide a universal usable color space for display and printers of the time. While there are many different and larger color spaces available, sRGB is still the de facto standard for RGB image data.
CIE-XYZ
CIE (Commission Internationale de lÉclairage) stands for the International Commission on Illumination, whic...