Sony S-Gamut3 / S-Log3 (Venice)
Fig. 1: Sony S-Gamut3 / S-Log3 (Venice) — CIE 1931 xy.Fig. 2: Sony S-Gamut3 / S-Log3 (Venice) encoding curve, L = 0.18 × 2^stops. | x | y |
|---|
| Red | 0.7405 | 0.2794 |
| Green | 0.0892 | 0.8938 |
| Blue | 0.1105 | -0.0526 |
| 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.744222987287 0.077906521833 0.128326417932 ]
[ 0.280782475997 0.780285721619 -0.061068197616 ]
[ -0.019929292611 0.014796572000 1.094190471371 ]
Use this space
Gamut compare ↗
Transfer compare ↗