What Is A CDL And When Do You Use It?

January 22, 2019

Take an introductory look at the Color Decision List (CDL) and learn about the strengths and weaknesses of an ASC-CDL based workflow.


Series
Day 22: 25 Insights in 25 Days 2019 New Year Marathon!

Meet the ASC-CDL (Color Decision List): The Theory

In a previous Insight, colorist Rob Bessette talked about his experience coloring dailies after a career in commercial color grading. One of the comments he made was about restricting his color corrections to be CDL-compliant. What precisely did he mean, being ‘CDL compliant’? Why is it important for dailies colorists to restrict their toolset? I’ll explain the theory behind the Color Decision List (CDL). And at the end of this article, we look at why DPs typically combine a LUT with a CDL to achieve their final looks. But before we get there, we need to understand what precisely a CDL is designed to do.

What is a CDL?

The ASC-CDL, more commonly expressed and known simply as the CDL, was created through a joint operation between the American Society of Cinematographers’ Technology Committee, production/post-production vendors, and color scientists to standardize the exchange of primary color adjustments. The specification was first released around mid-2007 and is now widely adopted among several software and hardware manufacturers.

The CDL stands for Color Decision List. Like an EDL communicates basic edit data, a CDL carries a subset of color-correction data.

Although all color-correction systems offer their basic grading controls, ‘Lift,’ ‘Gain’, and ‘Gamma’ are implemented differently from vendor to vendor. Their definitions of LGG can vary in sensitivity and response. The strength of a CDL- based workflow is its software-agnostic nature. CDL-compliant hardware and software can create, modify, and reproduce consistent color results exported from any other supported platform. In other words, it’s about the perfect interchange of color modifications.

The ‘CDL’ Node is illustrated inside of Pomfort Silverstack LAB. Notice the design choice to arrange the wheels to represent Lift Gamma Gain grading controls. A numerical read-out is conveniently shown on the right and updates in real time.

The parameters of a CDL replace the traditional Lift, Gamma, and Gain you’re probably used to manipulating. However, each set of CDL controls behaves very differently from one another!

  • Slope is to Gain
  • Offset is to Lift
  • Power is to Gamma

You may be wondering why the ASC-CDL sequence is expressed as ‘S-O-P’, as opposed to ‘O-S-P’ to match the more commonly known ‘LGG.’ That’s because, in CDL math, the arithmetic of SOP-S is calculated in that precise sequence. This is extremely important, if you think back to high school math class, you’ll remember that even the slightest change in the order of operations will result in something else entirely different!

Slope, Offset, and Power (referenced here as SOP), are transfer functions applied to all three independent channels of R, G, and B. An end result is a group of nine separate operations in a single CDL; each SOP operation has three color components.

The CDL, in its most basic form, is a human- and machine-readable text document. This screenshot of a CDL via TextEdit is formatted as an EDL. This example has a heavy adjustment in Slope, a slight one in Offset, and none for Power and Saturation.

Those with attentive eyes will notice an extra feature in the above screenshots. That’s right, a tenth designation that solely controls Saturation was added in Version 1.2 of the ASC-CDL and affects the entire combined result of RGB after all SOP transfer functions have been applied. That’s why it’s called SOP-S.

We’ll look at these individual operations in a few moments.

Less Is More – What a CDL Isn’t

Like LUTs, CDLs do not affect spatial or temporal adjustments – power windows, tracking, secondaries, and all plugins are out of scope. The key takeaway with CDLs is that they are primary-only color corrections with the added saturation slider.

This primary-only set of controls may initially feel like a restriction, but it is deliberate. Remember, a CDL is not meant to compete with an entire 5- or 10-node color grade. It does not replace a 3D LUT. If anything, it’s designed to side-step proprietary color grading exchange formats such as the .drx (DaVinci Resolve Grade) or .blg (BaseLight Grade). Any software that offers CDL compliance will generate the same precise results when reading a CDL.

What makes CDLs so vastly compatible? It’s a simplified design. Software engineers can easily reverse-engineer the conversion between SOP and LGG.

An exaggerated example of a CDL grade, using only SOP controls combined with a viewing 3D LUT. The possibilities are endless!

However, as powerful as CDLs can be (they are only metadata themselves), they are pretty featureless when communicating other pieces of information. A CDL knows nothing and transmits nothing about the recording format, exposure, and color space of input data. Since the CDL does not communicate any other vital details, clear communication and precise look management are essential. Otherwise, matching pictures between post-houses, VFX artists, and finishing artists – and all the different software they use – is nearly impossible. But even with its simplicity, the key to success in a CDL workflow: Test, test, test!

When to use a CDL?

Some of you may go through your entire color-grading career and not use a single CDL! This is because only some workflows require CDLs to begin with. To appreciate the problems that CDLs solve, we first look at the context we see them being used.

Production is where most CDLs are born. They are created while live grading on set by the DIT while collaborating with the DP. Or while grading dailies at a post house the evening or the day after the shoot. At its best, on-set / near-set / dailies grading preserves the cinematographer’s intent and protects his or her creative ideas and intellectual property down the line. Before systematic look management existed, there were written notes, photos taken on set, and magazine cut-outs to refer to. CDLs are one of the few modern ways to close this creative gap.

As with solving other technical problems, CDLs avoid unintentional changes to creative color choices later in the post production process.

Check out our on-set tutorials in our Insights Tutorial Library

From understanding Dailies to round-tripping CDLs in DaVinci Resolve, there’s more to explore!


View our On-Set tutorials

A simple live-grade setup that enables CDL creation in a production environment during shooting.

Depending on the production, either the DIT or the dailies colorist exports CDLs to provide offline editorial with first-light graded material. This is later used as a starting reference point for post in final color grading. The very same CDLs are also used by the visual effects department, applying the CDL adjustments to their plates and assets. This helps dozens of artists and technicians see the same image, for example – during compositing in Nuke.

Even if the entire production and post pipeline strictly stays inside of Resolve, Baselight, or any other ‘hero’ system, a CDL workflow is still preferred for dailies. It keeps the post process flexible. It also side-steps version incompatibility between workstations (think: one post-house on Resolve 14 with another on Resolve 15). CDL workflows also preserve maximum compatibility if the project needs to move outside of the initial hero system. With proper communication and color management, CDLs are guaranteed to deliver consistent results.

I hope you are starting to appreciate how CDLs fit in the overall production to post production workflow. But before we wrap up our discussion, let’s dig a little into the actual definition of Slope, Offset, and Power.

How a CDL works: Slope, Offset, and Power

The math behind each of the SOP operations is, essentially, open source – explaining the wide adoption of this interchange format.

Slope
Slope is a multiply function. output = input * slope

 

Slope alters the image without affecting the black level. The default slope value is 1.0. Slope is best thought of as a Gain or Contrast control that pivots at 0.

Offset
Offset is an add function. output = Slope + offset.

Offset operations happen after the Slope. It raises the luminescence of the entire picture while keeping the slope constant. Think of it like a master pedestal that shifts the curve up or down the y-axis. You can think of the Offset as an exposure control, where the default value is 0.0.

Power
Power is a non-linear transfer function. Output = input ^ power.

Power is calculated after Slope and Offset. But while both Slope and Offset work linearly, Power does not. It’s a non-linear power function, which is where it gets its name from. The default power value is 1.0.

Saturation – Employs Rec 709 weightings, raising and lowering the entire picture’s colorfulness after SOP calculations. Saturation is applied after Slope, Offset, and Power. The default value is 1.0, where 2.0 is maximum and 0.0 is total desaturation (grayscale).

Why not just us a LUT?

Seeing the limitations of the CDL’s SOP-S operations – if you’re schooled in using LUTs then you probably wonder, why not skip the CDL and just use LUTs? The answer has to do with the inherent nature of both correction pathways – CDLs allow the artist to make creative changes. Whereas LUTs are set and fixed. But here’s the thing: It’s not an either / or choice.

A visual representation of a 3D LUT. It’s nature as a three-dimensional matrix means it allows for much more complex adjustments, versus a CDL that only has 10 control points.

In a typical color pipeline, a LUT can be very simple (strictly transforming the picture from a log space to a viewing space). Or, a custom LUT can be created and approved by the DP that incorporates the final look they’re trying to achieve. In both cases, using a combination of CDL + LUT allows creative adjustments to the image without affecting the LUT directly. This works out quite well since 3D LUTs consistently make precise contrast and color adjustments that the DP desires while the CDL can tweak the image to match cameras or impart the precise look / feel that the DP wants at that moment.

For DaVinci Resolve colorists, it’s just like stacking two nodes together.

In these workflows, the LUT does the heavy lifting while the CDL does the fun stuff!

In almost all cases, the CDL is placed BEFORE the Show LUT. This allows the CDL to modify the picture to its best potential before pixel values are transformed by the Look Up Table. It also keeps the LUT from clipping ‘out of bounds’ data, which the CDL can pull in before passing it off to the LUT.

Closing Thoughts

Now that you are properly introduced to the essentials of CDL theory, you have a better understanding how and if the CDL workflow is appropriate for your color pipeline. The single big take away about grading with CDLs is: Keeping it simple, for compatibility.

In the next insight, you get a practical look at the few different file formats for CDLs and some hands-on with how to get CDL grades into and out of DaVinci Resolve.

-ryan

1,200+ Tutorials, Articles, and Webinars To Explore

Get 7-day access to our library of over 1,200+ tutorials - for $5!
Do you like what you see? Maintain access for less than $5 per month.


Start Your Test Drive!
Loading...