Skip to content

Instantly share code, notes, and snippets.

@sobotka
Created December 4, 2016 02:04
Show Gist options
  • Save sobotka/6c396ecf2e30666effff64c786bbd91e to your computer and use it in GitHub Desktop.
Save sobotka/6c396ecf2e30666effff64c786bbd91e to your computer and use it in GitHub Desktop.
OpenColorIO stanza for SLog3 / SGamut3 transform
- !<ColorSpace>
name: Sony-S-Log3-S-Gamut3.Cine
family:
equalitygroup:
bitdepth: 32f
description: |
S-Log3-S-Gamut3.Cine to XYZ to 709
isdata: false
allocation: uniform
allocationvars: [0, 1]
to_reference: !<GroupTransform>
children:
- !<FileTransform> {src: S-Log3_to_linear.spi1d, interpolation: linear}
# S-Gamut3.Cine to XYZ Matrix
- !<MatrixTransform> {matrix: [0.5990839208, 0.2150758201, -0.0320658495, 0, 0.2489255161, 0.8850685017, -0.0276583907, 0, 0.1024464902, -0.1001443219, 1.148781991, 0, 0, 0, 0, 1]}
# XYZ to 709 matrix
- !<MatrixTransform> {matrix: [3.2404542, -0.9692660, 0.0556434, 0, -1.5371385, 1.8760108, -0.2040259, 0, -0.4985314, 0.0415560, 1.0572252, 0, 0, 0, 0, 1]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment