(Page 3 of 5 pages for this article  <  1 2 3 4 5 >)

Monday, February 02, 2009

Filed under: CamerasPost ProductionProductionTipsTraining

The Not-So-Technical Guide to S-Log and Log Gamma Curves

Art Adams | 02/02

What you need to know about log curves—with hardly any math at all

THE MAGIC OF S-LOG REVEALED

Here, in all its glory, is how S-Log works:

(Courtesy of Digital Praxis)

The gamma curves that we’ll look at on the next page are based on the bottom graph, and it’s useful to notice a couple of things about it.

The steeper the curve the finer the brightness steps, and the flatter the curve the bigger the steps. The steepest part of the curve is between 0% and 70% on a waveform monitor, which is where the most perceptual steps of brightness are; after 70% the curve becomes very flat and is meant to hold highlight values whose steps can be wider because, while our eyes appreciate seeing highlight detail, we aren’t very good at perceiving fine luminance steps in it.

Brightness data is stored in 10-bit steps, or 1024 values for each channel. The internal code values for different shades of brightness, and their equivalents on a waveform monitor, look like this:

It’s handy to note that, if you move the decimal point of the code values one step to the left, they are very close to their equivalent waveform value. For example, middle gray’s code of 394 becomes 39.4, which is very close to a waveform value of 37.7%.

One of my first questions to all the people interviewed for this article was: “With only 370+ steps from black to gray, and another 250+ or so from middle gray to white, and with another nearly 400 steps dedicated to highlights, are there enough steps to prevent banding when they are expanded and manipulated in post?” The answer, universally, was “Yes: you’ve been watching this for years. This is based on the Cineon spec for digitizing film, and you’ve been fine with it so far.”

There are three reasons why this curve won’t play well on a regular Rec 709 display:

(1) S-Log lifts the blacks considerably, which tends to desaturate the colors

(2) The brightest highlights are heavily compressed

(3) It’s a high dynamic range image whose gamma is not Rec 709 compliant, which desaturates and flattens the image

There’s much talk about using LUT’s and such for viewing an S-Log-encoded image correctly during grading, but that’s not really correct or necessary. Unless your footage is destined for another kind of media, like film, imposing a LUT isn’t necessary.

For TV deliverables you can get an idea of what’s happening on set by configuring one of the F35’s monitor ports to overlay Rec 709 gamma on top of the S-Log image. It’s not going to be a perfect rendition but it’ll give you an idea of what’s going on. When configured this way the F35 output will display a curvy Greek “gamma” symbol in the corner, along with the numbers “709”, to remind you that Rec 709 is being applied to that output. (Your DIT can watch the uncorrected S-Log signal on another monitor.)

While you might be tempted to paint this image to make it prettier you shouldn’t touch the paintbox at all. Painting a Rec 709 rendering of an S-Log image will result in a reshoot, and while the rest of the crew will thank you for another day’s work, you won’t be there.

Another viewing option is to use one of the Sony BVM-L LCD displays, which offer a built-in S-Log-to-Rec 709 decoding function.

To sum up, S-Log very efficiently puts 12 stops of dynamic range into a five stop bucket by remapping brightness data in a way that makes sense to our eyes, and then throws away the data between the perceptual steps that our eyes can’t see. It’s a very good form of visually lossless compression.

S-Log isn’t the end of your options, as I’ll prove on page four…

(Page 3 of 5 pages for this article  <  1 2 3 4 5 >)

                    Clip to Evernote

 

The Best of Stunning Good Looks

Art Adams | 08/30

A directory of my best articles, sorted by topic.

This entry is a guide to my best articles, sorted by topic. Enjoy!

How to get the “24p” look for your live-switched multicam shoot

Allan Tépper | 02/10

A contracted article, sponsored by Datavideo Corporation.

image

Our friends at Datavideo recently asked me to write an article called How to get the “24p” look for your live-switched multicam shoot. The article covers many factors…

Anton/Bauer Provides Rock-Solid Dependability For “The Amazing Race” As It Treks Across The Globe

PVC News Staff | 02/06

The Amazing Race uses Anton/Bauer to ensure all cameras have enough power to capture every exciting moment the contestants encounter.

image

Since their first day of production back in 2001, crew members of the hit reality television series “The Amazing Race” have counted on Anton/Bauer® products to power them through…

You must be registered to comment. This is an effort to reduce spam. Please REGISTER HERE.

You say that the origin of ETTR is in wanting to encode data more precisely.

I don’t know about the origins of ETTR, but I would say the main advantage of ETTR is not increased precision, but decreased noise (because darker areas are noisier on digital cameras).

Posted by Charles Angus  on  01/31  at  09:04 PM


The best way to think of exposing digital cinematography cameras is to think of them as being like reversal film stock… Make any sense with respect to ETTR?

The problem with digital cameras is they can clip too harshly, so make sure highlight exposure is correct, and almost let shadow detail fall where it will, adding fill lighting as required.

The extended range gamma curves described here help by maximising the range available, so putting off the clip (saturation) point.

Posted by Steve Shaw  on  02/04  at  10:16 AM


good article!

Posted by billS  on  02/05  at  06:16 PM


Hey Art!
Thanks for the Article.

I have to say that one thing that really bugs me is the inconsistency in definitions/understandings of all this business.

After reading a thread on CML and thinking that I “got it”, I saw people chime in on the thread and disagree with the person who basically schooled everyone.

Where do we draw the line? (or the curve)? Who is to believe?

When is this information going to be widely available, and in layman’s terms? It becomes increasingly frustrating to try and figure out the magic of a camera, and waste your energy on doing so, instead of creating good work.

How can someone like me visualize the differences in Linear/log, instead of reading it? After all, most of us behind the camera don’t react to something emotionally till we visualize it…

Thank you for the article. I will have to read it a few more times to have everything sink in.

Jamie

Posted by .(JavaScript must be enabled to view this email address)  on  01/21  at  05:01 PM


I should probably work on making it a lot simpler to understand. Here’s the bottom line:

Linear records ALL the data off the sensor, but the way the sensor records information it saves much more highlight info than shadow info. 50% of linear data describes detail in your brightest highlights… which is a complete waste, because you don’t often have much in the way of bright detailed highlights in the shot.

Log remaps these values when they are stored so that you only record perceptually equal steps (steps that your eye can see the difference in)  instead of every bit of data in linear, which records tons more info in highlights than the eye can see.

Linear gamma looks really dark. It must have a gamma curve applied to it to make it look proper on a CRT or LCD display. In raw form it contains every bit the sensor captured.

Log gamma looks really flat. It doesn’t contain nearly as much data as linear gamma but most of the time that’s okay, because it records brightness in perceptually equal steps and doesn’t favor either highlights or shadows.

Both should offer excellent results, depending on the post house. RED’s “raw” isn’t really linear raw because it has a slightly different gamma curve applied, but it’s pretty close and it is 12-bit color (although heavily compressed). S-Log is only 10-bit color, but that seems to be fine as it hasn’t hobbled the numerous TV shows and features shot that way.

12-bit linear has close to 4096 possible steps of brightness per color channel. (Some bits at the top and bottom are reserved for meta data.) This is linear data so half of this goes immediately to the brightest highlight details. Not very efficient.

10-bit log has close to 1024 steps of brightness per color channel. (Some bits are reserved here as well, so the entire range isn’t used for image data.) The brightness values are spread out much more evenly than linear, though.

I’m not going to say I understand it all well enough to lay out all the definitions and be right on every one. I’ve got an overall idea of how all this is supposed to work. The bottom line is that both methods work fine as long as your post house is competent.

The one thing you don’t want to do is have a post pipeline where the footage drops down to 8-bits. That looks really nasty, and can happen when dealing with Final Cut Pro or if the footage gets dumped to HDCAM at some point. The banding and color noise are horrible.

Posted by Art Adams  on  01/21  at  05:28 PM


Name:

Email:

Location:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below:











The Best of Stunning Good Looks

Art Adams | 08/30

A directory of my best articles, sorted by topic.

This entry is a guide to my best articles, sorted by topic. Enjoy!

How to get the “24p” look for your live-switched multicam shoot

Allan Tépper | 02/10

A contracted article, sponsored by Datavideo Corporation.

image

Our friends at Datavideo recently asked me to write an article called How to get the “24p” look for your live-switched multicam shoot. The article covers many factors…

Anton/Bauer Provides Rock-Solid Dependability For “The Amazing Race” As It Treks Across The Globe

PVC News Staff | 02/06

The Amazing Race uses Anton/Bauer to ensure all cameras have enough power to capture every exciting moment the contestants encounter.

image

Since their first day of production back in 2001, crew members of the hit reality television series “The Amazing Race” have counted on Anton/Bauer® products to power them through…

Revisiting the RED workflow, Smoke 2012 style

Marc-Andre Ferguson | 02/03

image

My love affair with RED Digital Cinema began in 2007, when my brief stint as demo artist in the NAB RED booth turned into a regular gig at events and trade shows.…

To be considered for listing, contact pr (at) provideocoalition (dot) com


Copyright © 2011, HD Expo, LLC a division of Diversified Business Communications. DBA Createasphere

All rights reserved. HD EXPO, High Def EXPO, Createasphere, E-Tech, Entertainment Technology Exposition, 3D Production Workshop, VariCamp, P2 Camp, ColorCamp 101, and Lighting, Filters & Gels for HD are all trademarks of HD Expo, LLC.

Terms of Use  |  Privacy Policy

Check PageRank