CDL

 

CDL stands for “Color Decision List”. It is a metadata format developed by the The American Society of Cinematographers (ASC), in order to exchange rudimentary colour correction information between postproduction tools. It is sometimes necessary to apply non-destructive look communication instead of colour correcting an image directly. The colour correction is expressed as metadata, and the image is transferred without any creative decisions. This greatly simplifies the versioning of looks, because simple metadata can be updated without the need of re-transferring image data.

CDLs are very common in VFX workflows because the VFX artist needs both the ungraded shot and the intended look. The ungraded shot allows the artist to comp in truly linear light, and the intended look is needed to check if the individual plates still hold together after the grade is applied.

Slope, Offset and Power

CDL defines a parameterised function to individually modify the red, green, and blue channel of an image. In addition, CDL specifies a global saturation. 

The three tone curve parameters are Slope, Offset and Power. These parameters are simple mathematical operations, which allow the colourist to modify the incoming data. 

  • “Slope” is a multiplier to the incoming data
  • “Offset” is a summation to the incoming data
  • “Power” is a power function to the incoming data

The formula is: out.rgb=(in.rgb*Slope.rgb+Offset.rgb)^Power.rgb 

  • in.rgb = input red, green, blue values
  • out.rgb = output red, green, blue values
  • Slope.rgb = Slope red, green, blue values
  • Offset.rgb = Offset red, green, blue values
  • Power.rgb = Power red, green, blue values 

A fourth parameter “Saturation” is achieved by converting the out.rgb data in a Luma and Chroma component. The Chroma Signal is then multiplied by the “Saturation” parameter.

Film Grade and Video Grade

With Slope and Offset you can produce both a Film Grade “Exposure” and “Contrast” and a Video Grade “Lift” and “Gain”.

  • Exposure is achieved by Offset
  • Contrast is achieved by a combination of Offset and Slope
  • Gain is achieved by Slope
  • Lift is achieved by a combination of Offset and Slope
  • Gamma is achieved by Power

Formats

A CDL Grade is specified by ten values, and they can be stored in different formats.

  • Slope.red
  • Slope.green
  • Slope.blue
  • Offset.red
  • Offset.green
  • Offset.blue
  • Power.red
  • Power.green
  • Power.blue
  • Saturation

.cdl

.cdl is a text file (with the suffix “cdl”). It has an xml like structure. It defines one CDL grade and looks something like:

<ColorDecisionList>
    <ColorDecision>
        <ColorCorrection>
            <SOPNode>
                <Slope>0.904771 0.931037  1.011883</Slope>
                <Offset>0.008296 0.017804 -0.026100</Offset>
                <Power>1.052651 1.005324  0.945201</Power>
            </SOPNode>
            <SatNode>
                <Saturation>0.801050</Saturation>
            </SatNode>
        </ColorCorrection>
    </ColorDecision>
</ColorDecisionList>

.ccc

.ccc is the same concept but can contain multiple CDL structures.

.ale

CDL values can be stored per shot in an Avid Log Exchange. 

.edl

CDL values per shot can be stored in a CMX 3600 Edit Decision List.

Colour Management

Unfortunately, CDL does not define the image state and colour management pipeline in which this formula is applied. That means, these ten values describe a colour correction but do not describe the way you apply the values. The values applied in a Log Colour Space with a viewing transform on output will elicit a different result, then the same values applied in Display Space after the viewing transform. This is the reason why sometimes CDL values do not match between applications. 

In order to make CDL work, you need an additional Colour Management Layer that transforms the image into the correct state, apply the CDL values and eventually convert the image into another image state. In the field, there are different colour management frameworks like “OpenColor IO” or “Truelight Colour Spaces”. Some productions also just create “Lookup Tables” for the input- and output transformation and apply the CDL values by hand. 

Conforming

The only way to automatically apply CDL values to multiple shots is using ALE and EDL. This makes CDL only applicable in very narrow workflows. .cdl or .ccc files do not store camera metadata, which makes it impossible to “bulk paste” CDL values to multiple shots. Often manual copy and paste takes place, which is a dissatisfying and time-consuming task. Some tools offer a smarter copy and paste functionality if the .cdl values are named like the filename or clip names of the shot, so the conforming metadata is stored in the filename. Big VFX Houses use their Asset Management System to deploy the CDL values to the correct shots.

Conclusion

CDL is a simple concept to describe and communicate a simple colour correction transformation in a software agnostic way. It does not specify or communicate the needed colour management information, nor does it store any shot based metadata. In order to make CDL work, a production needs an additional colour management and asset management pipeline to successfully distribute CDL values between software packages.


Daniele Siragusano
Colour and Worklow Engineer, Filmlight

 

  • Like 4

User Feedback

Recommended Comments



Create a free account or log in to comment

You need to be a member in order to leave a comment

Create an account

Register for a new account in our community.

Register a new account

Log In

Already have an account? Log in here.

Log In Now

  • Announcements

    • Stig Olsen

      Want to make training videos?   07/27/2017

      Colorist and want to make training videos? Send us an email: cm@lowepost.com
    • Stig Olsen

      Reviews online (BETA)   07/27/2017

      We are working with reviewing apps, monitors, color grading books etc. Feel free to rate, add user comments and suggest new list items. Here are the list of useful apps https://lowepost.com/list/useful-apps/
    • Stig Olsen

      Lowepost loyalty program   07/27/2017

      We appreciate your engagement and that you are involved in building this community! At a later date we will launch The Lowepost loyalty program, we will get back with more info soon.
  • Our picks

    • Hi everyone. I want to ask you which soft is the best in film industry for color grading Baselight or Davinci.I have been using Davinci for 5 years and now I'm interested to work with Baselight as well.
      Thank you in advance.
      • 27 replies
    • I came across this Scratch tutorial about beauty retouching. In still photography, retouchers often tend to use cloning, healing and B/D techniques. What is your approach to beauty work?

       
      • 12 replies
    • In a blockbuster film or tv series what is the average time of color correction?

      Sometimes I think we run so much due to the term of the channels and producers here in Brazil.

      How do you work when you receive a material to create the look?
      • 15 replies