Available transforms¶
AllocationTransform¶
Transforms from reference space to the range specified by the
vars:
Keys:
allocationvarsdirection
BuiltInTransform¶
Builds one of a known set of transforms, on demand
Keys:
styledirection
CDLTransform¶
Applies an ASC CDL compliant grade
Keys:
slopeoffsetpowersatstylenamedirection
ColorSpaceTransform¶
Transforms from src colorspace to dst colorspace.
Keys:
srcdstdata_bypassdirection
DisplayViewTransform¶
Applies a View from one of the displays.
Keys:
srcdisplayviewlooks_bypassdata_bypassdirection
ExponentTransform¶
Raises pixel values to a given power (often referred to as “gamma”)
!<ExponentTransform> {value: [1.8, 1.8, 1.8, 1]}
Keys:
valuestylenamedirection
ExponentWithLinearTransform¶
Applies a power but with a linear section near black. May be used to implement sRGB, CIE L*, and the Rec.709 camera OETF (not the display!).
Keys:
gammaoffsetstylenamedirection
ExposureContrastTransform¶
Applies an exposure, contrast, or gamma adjustment. Uses dynamic properties for optimal live adjustments (e.g., in viewports).
!<ExposureContrastTransform> {style: linear, exposure: -1.5,
contrast: 0.5, gamma: 1.1, pivot: 0.18}
Keys:
exposurecontrastpivotgammastylelog_exposure_steplog_midway_graynamedirection
FileTransform¶
Applies a lookup table (LUT)
Keys:
srccccidcdl_styleinterpolationdirection
FixedFunctionTransform¶
Applies one of a set of fixed, special purpose, mathematical operators.
Keys:
styleparamsnamedirection
GradingPrimaryTransform¶
Applies primary color correction.
Keys:
stylebrightnesscontrastpivotoffsetexposureliftgammagainsaturationclampnamedirection
GradingRGBCurveTransform¶
Applies a spline-based curve on the red, green, and blue channels.
Keys:
styleredgreenbluemasterlintolog_bypassnamedirection
GradingHueCurveTransform¶
Applies a spline-based curve controlling hue, saturation, and luma.
Keys:
stylehue_huehue_sathue_lumlum_satsat_satlum_lumsat_lumhue_fxrgb2hsy_bypassnamedirection
GradingToneTransform¶
Applies an adjustment to various tonal ranges.
Keys:
styleblacksshadowsmidtoneshighlightswhitess_contrastnamedirection
GroupTransform¶
Combines multiple transforms into one.
colorspaces:
- !<ColorSpace>
name: adx10
[...]
to_reference: !<GroupTransform>
children:
- !<FileTransform> {src: adx_adx10_to_cdd.spimtx}
- !<FileTransform> {src: adx_cdd_to_cid.spimtx}
A group transform is accepted anywhere a “regular” transform is.
Keys:
childrennamedirection
LogAffineTransform¶
Applies a logarithm as well as a scale and offset on both the linear and log sides. May be used to implement Cineon or Pivoted (Josh Pines) style lin-to-log transforms.
Keys:
baselin_side_offsetlin_side_slopelog_side_offsetlog_side_slopenamedirection
LogCameraTransform¶
Similar to LogAffineTransform but also allows a linear section near black. May be used to implement the ACEScct non-linearity as well as many camera vendor lin-to-log transforms.
Keys:
baselin_side_offsetlin_side_slopelog_side_offsetlog_side_slopelin_side_breaklinear_slopenamedirection
LogTransform¶
Applies a mathematical logarithm with a given base to the pixel values.
Keys:
basenamedirection
LookTransform¶
Applies a named look
Keys:
srcdstlooksdirection
MatrixTransform¶
Applies a matrix transform to the pixel values
Keys:
matrixoffsetnamedirection
RangeTransform¶
Applies an affine transform (scale & offset) and clamps values to min/max bounds.
Keys:
min_in_valuemax_in_valuemin_out_valuemax_out_valuestylenamedirection
Note
If a min_in_value is present, then min_out_value must also be present and the result is clamped at the low end. Similarly, if max_in_value is present, then max_out_value must also be present and the result is clamped at the high end.
Named Transforms¶
Sometimes it is helpful to include one or more transforms in a config that are essentially
stand-alone transforms that do not have a fixed relationship to a reference space or a
process space. An example would be a “utility curve” transform where the intent is to
simply apply a LUT1D without any conversion to a reference space. In these cases, a
named_transforms section may be added to the config with one or more named transforms.
Note that named transforms do not show up in color space menus by default, so the application developer must implement support to make them available to users.
This feature may be used to emulate older methods of color management that ignored the RGB primaries and simply applied one-dimensional transformations. However, config authors are encouraged to implement transforms as normal OCIO color spaces wherever possible.
Named transforms support the keys:
namealiasesdescriptionfamilycategoriesencodingtransforminverse_transform
named_transforms:
- !<NamedTransform>
name: Utility Curve -- Cineon Log to Lin
transform: !<FileTransform> {src: logtolin_curve.spi1d}