- Description: A collection of colorspaces that are used to facilitate the creation of LUTs and other basic functionality.
- Technical information:
- - The Log2 shaper, Output shaper and 'Dolby PQ Scaled' spaces cover the linear range going from 6 stops below 18% grey (0.0028125) to 6.5 stops above 18% grey (16.291740)
+ - The 'Log2 xx nits Shaper' and 'Dolby PQ xx nits Shaper' spaces cover the linear range going centered around 18% grey. The 48 nits spaces cover -6.5 stops (0.0028125) to +6.5 stops(16.291740). The 1000 nits spaces cover -12 stops to +10 stops. The 2000 nits spaces cover -12 stops to +11 stops. The 4000 nits spaces cover -12 stops to +12 stops.
- The LMT shaper spaces cover the linear range going from 10 stops below 18% grey (0.00017578125) to 6.5 stops above 18% grey (16.291740)
- The colorspaces that start with "Linear - " will convert to or from a specific gamut but not apply a transfer function.
- The colorspaces that start with "Curve - " will apply a transfer function but not convert between gamuts.
-
### Roles
- Description: The role colorspaces are aliases to the colorspaces used for the OCIO 'roles' functionality.
lut_directory,
lut_resolution_1d,
cleanup,
- 'Log2 48nits Shaper',
+ 'Log2 48 nits Shaper',
0.18,
-6.5,
6.5)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Log2 1000nits Shaper',
+ 'Log2 1000 nits Shaper',
0.18,
-12.0,
10.0)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Log2 2000nits Shaper',
+ 'Log2 2000 nits Shaper',
0.18,
-12.0,
11.0)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Log2 4000nits Shaper',
+ 'Log2 4000 nits Shaper',
0.18,
-12.0,
12.0)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Dolby PQ 48nits Shaper',
+ 'Dolby PQ 48 nits Shaper',
0.18,
-6.5,
6.5)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Dolby PQ 1000nits Shaper',
+ 'Dolby PQ 1000 nits Shaper',
0.18,
-12.0,
10.0)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Dolby PQ 2000nits Shaper',
+ 'Dolby PQ 2000 nits Shaper',
0.18,
-12.0,
11.0)
lut_directory,
lut_resolution_1d,
cleanup,
- 'Dolby PQ 4000nits Shaper',
+ 'Dolby PQ 4000 nits Shaper',
0.18,
-12.0,
12.0)
# Assumes shaper has variants covering the range expected by the
# 48 nit, 1000 nit, 2000 nit and 4000 nit Ouput Transforms
rrt_shaper_48nits = shaper_data[shaper_name]
- rrt_shaper_1000nits = shaper_data[shaper_name.replace("48nits", "1000nits")]
- rrt_shaper_2000nits = shaper_data[shaper_name.replace("48nits", "2000nits")]
- rrt_shaper_4000nits = shaper_data[shaper_name.replace("48nits", "4000nits")]
+ rrt_shaper_1000nits = shaper_data[shaper_name.replace("48 nits", "1000 nits")]
+ rrt_shaper_2000nits = shaper_data[shaper_name.replace("48 nits", "2000 nits")]
+ rrt_shaper_4000nits = shaper_data[shaper_name.replace("48 nits", "4000 nits")]
# *RRT + ODT* combinations.
sorted_odts = sorted(odt_info.iteritems(), key=lambda x: x[1])
odt_name = odt_values['transformUserName']
if odt_name in ['P3-D60 PQ (1000 nits)']:
- odt_shaper = shaper_name.replace("48nits", "1000nits")
+ odt_shaper = shaper_name.replace("48 nits", "1000 nits")
elif odt_name in ['P3-D60 PQ (2000 nits)']:
- odt_shaper = shaper_name.replace("48nits", "2000nits")
+ odt_shaper = shaper_name.replace("48 nits", "2000 nits")
elif odt_name in ['P3-D60 PQ (4000 nits)']:
- odt_shaper = shaper_name.replace("48nits", "4000nits")
+ odt_shaper = shaper_name.replace("48 nits", "4000 nits")
else:
odt_shaper = shaper_name
lmt_info = aces.get_LMTs_info(aces_ctl_directory)
if shaper_base_name == 'DolbyPQ':
- shaper_name = 'Dolby PQ 48nits Shaper'
+ shaper_name = 'Dolby PQ 48 nits Shaper'
else:
- shaper_name = 'Log2 48nits Shaper'
+ shaper_name = 'Log2 48 nits Shaper'
config_data = create_config_data(odt_info,
lmt_info,