Skip to content

Instantly share code, notes, and snippets.

@KelSolaar
Created February 11, 2015 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KelSolaar/620e1cadf1505e248601 to your computer and use it in GitHub Desktop.
Save KelSolaar/620e1cadf1505e248601 to your computer and use it in GitHub Desktop.
Sony F35 IDT Ramblings
set cut_paste_input [stack 0]
version 8.0 v1
Read {
inputs 0
file /Users/kelsolaar/Downloads/Pictures/SonyF35.StillLife.dpx
format "1920 1080 0 0 1920 1080 1 HD"
origset true
version 2
colorspace linear
raw true
timecode 02:14:20:19
edge_code "\\xff\\xff \\xff\\xff \\xff\\xff \\xff\\xff\\xff\\xff \\xff\\xff\\xff\\xff \\xff\\xff"
name Read3
selected true
xpos 70
ypos -90
}
set Nb10fb90 [stack 0]
ViewMetaData {
name ViewMetaData
selected true
xpos 180
ypos -57
}
Read {
inputs 0
file /Users/kelsolaar/Documents/Development/colour-science/colour-website/ipython/resources/images/SonyF35.StillLife.exr
format "1920 1080 0 0 1920 1080 1 HD"
origset true
name Read2
selected true
xpos -40
ypos -85
}
ColorMatrix {
matrix {
{2.52197696 -1.13706612 -0.38491081}
{-0.27547671 1.36982658 -0.09434988}
{-0.01598681 -0.14781833 1.16380514}
}
name ACES_RGB_to_sRGB_ColorMatrix1
selected true
xpos -40
ypos -9
}
push $Nb10fb90
Multiply {
value 1023
name integer_10_bits_scale_Multiply
selected true
xpos 70
ypos 11
}
Expression {
temp_name0 AB
temp_expr0 90
temp_name1 B
temp_expr1 64
temp_name2 W
temp_expr2 940
expr0 "(r >= AB ) ? ( pow(10., ( ( ( r - B) / ( W - B) - 0.616596 - 0.03) / 0.432699)) - 0.037584) * 0.9 : ( ( ( r - B) / ( W - B) - 0.030001222851889303) / 5.) * 0.9"
expr1 "(g >= AB ) ? ( pow(10., ( ( ( g - B) / ( W - B) - 0.616596 - 0.03) / 0.432699)) - 0.037584) * 0.9 : ( ( ( g - B) / ( W - B) - 0.030001222851889303) / 5.) * 0.9"
expr2 "(b >= AB ) ? ( pow(10., ( ( ( b - B) / ( W - B) - 0.616596 - 0.03) / 0.432699)) - 0.037584) * 0.9 : ( ( ( b - B) / ( W - B) - 0.030001222851889303) / 5.) * 0.9"
channel3 {none none none -rgba.alpha}
name SLog_to_linear
label "if (SLog >= ab)\n\t\tlin = ( pow(10., ( ( ( SLog - b) / ( w - b) - 0.616596 - 0.03) / 0.432699)) - 0.037584) * 0.9;\n\telse if (SLog < ab) \n\t\tlin = ( ( ( SLog - b) / ( w - b) - 0.030001222851889303) / 5.) * 0.9;"
selected true
xpos 70
ypos 44
}
ColorMatrix {
matrix {
{1.3316844 -0.1875729 -0.1441115}
{-0.0280144 0.9887602 0.0392542}
{0.0125582 -0.0050703 0.9925121}
}
invert true
name SGamut_to_ACES2065_1
selected true
xpos 70
ypos 111
}
ColorMatrix {
matrix {
{2.52197696 -1.13706612 -0.38491081}
{-0.27547671 1.36982658 -0.09434988}
{-0.01598681 -0.14781833 1.16380514}
}
name ACES2065_1_to_sRGB_ColorMatrix
selected true
xpos 70
ypos 135
}
Viewer {
input_process false
name Viewer1
selected true
xpos 70
ypos 159
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment