scRGB color space

From Wikipedia, the free encyclopedia

CIE 1931 xy chromaticity diagram showing the gamut of the sRGB color space and location of the primaries. The D65 white point is shown in the center.
CIE 1931 xy chromaticity diagram showing the gamut of the sRGB color space and location of the primaries. The D65 white point is shown in the center.

scRGB is an RGB (Red Green Blue) color space created by Microsoft for use in its GDI+ API in Windows Vista. It uses identical color primaries and white/black points as the sRGB color space, but uses 16-bit floating point (half precision) linear values instead of gamma compressed 8-bit integers. It allows values outside of the [0..1] range, creating a much larger effective gamut. It also has greater precision because the half-precision format has a 10-bit significand.

Contents

[edit] Specification of transformations

[edit] Transformation from CIE XYZ to RGB


\begin{bmatrix}
R_{linear}\\G_{linear}\\B_{linear}\end{bmatrix}=
\begin{bmatrix}
3.2410&-1.5374&-0.4986\\
-0.9692&1.8760&0.0416\\
0.0556&-0.2040&1.0570
\end{bmatrix}
\begin{bmatrix}
X \\ 
Y \\ 
Z \end{bmatrix}

[edit] Transformation from RGB to CIE XYZ


\begin{bmatrix}
X\\Y\\Z\end{bmatrix}=
\begin{bmatrix}
0.4124&0.3576&0.1805\\
0.2126&0.7152&0.0722\\
0.0193&0.1192&0.9505
\end{bmatrix}
\begin{bmatrix}
g(R_{srgb})\\ 
g(G_{srgb})\\ 
g(B_{srgb})\end{bmatrix}

[edit] Transformation from 16-bit scRGB to 8-bit sRGB

[edit] Transformation from 8-bit sRGB to 16-bit scRGB

[edit] References

[edit] External links