Sony S-Gamut3.Cine / S-Log3 (Venice)
Fig. 1: Sony S-Gamut3.Cine / S-Log3 (Venice) — CIE 1931 xy.Fig. 2: Sony S-Gamut3.Cine / S-Log3 (Venice) encoding curve, L = 0.18 × 2^stops. | x | y |
|---|
| Red | 0.7759 | 0.2745 |
| Green | 0.1887 | 0.8287 |
| Blue | 0.1013 | -0.0892 |
| White (D65) | 0.3127 | 0.3290 |
Transfer function
| Curve | Sony-S-log-3 |
|---|
| Black / white point (10-bit code values) | 95 / 610 |
|---|
| Linear 0 → code | 0.0929 |
|---|
| 18% grey → code | 0.4106 |
|---|
| Linear 1.0 → code | 0.5960 |
|---|
Encoding: convertFromLinear
vec4 convertFromLinear(vec4 val, int clip)
{
val.r = val.r < 0.01125 ? val.r*6.621943712+0.09286412512 : 0.5949227110+0.1110146696*log(val.r+0.01);
val.g = val.g < 0.01125 ? val.g*6.621943712+0.09286412512 : 0.5949227110+0.1110146696*log(val.g+0.01);
val.b = val.b < 0.01125 ? val.b*6.621943712+0.09286412512 : 0.5949227110+0.1110146696*log(val.b+0.01);
return val;
}Decoding: convertToLinear
vec4 convertToLinear(vec4 val)
{
val.r = val.r < 0.1673609919 ? (val.r-0.09286412512)/6.621943712 : exp(min((val.r-0.5949227110)/0.1110146696,86.4))-0.01;
val.g = val.g < 0.1673609919 ? (val.g-0.09286412512)/6.621943712 : exp(min((val.g-0.5949227110)/0.1110146696,86.4))-0.01;
val.b = val.b < 0.1673609919 ? (val.b-0.09286412512)/6.621943712 : exp(min((val.b-0.5949227110)/0.1110146696,86.4))-0.01;
return val;
}RGB → XYZ matrix
RGB → XYZ
[ 0.632260837250 0.200370008196 0.117825081606 ]
[ 0.223684358929 0.880014061591 -0.103698420520 ]
[ -0.041073032032 -0.018443611746 1.148574394537 ]
Use this space
Gamut compare ↗
Transfer compare ↗