Serena Steuart
DoP/Editor

Quantifying XDCAM PMWEX1 gamma curves

555551votes
September 03, 2010 09:22 PM  Views: 674   Favorited: 0 Favorite It Comments: 5
Filed Under:  film making, gamma, Serena, XDCAM-EX1
Tags:  film making, gamma, PMW-EX1, video production
 
The Sony XDCAM EX1 camera provides 8 different gamma curves, each of which can be modified by the user. Unfortunately Sony haven’t published the curves in quantitative form and user opinions of how each affects recorded images is highly variable.  Much uncertainty can be removed by quantifying the default characteristics of each of the gamma curves so they can be compared.

The methodology is simple, repeatable, and I think useful. All necessary data is displayed on the camera LCD, namely image brightness (%) and f/stop. The measurement set up requires a uniform constant light source large enough to fill the FOV, with the camera locked down. I used the lens wide to ensure max effective aperture, but the f/stops are relative anyway. Starting with the f/stop that gives 109% I closed down in half stops recording brightness at each change in f/stop reading. The change in f/stop reading is finely repeatable and I took that point (closing) as being the actual aperture value. The process is equivalent to decreasing the test subject's brightness in half stop increments, and because it is all relative it is unimportant whether the f/number is the true value, provided the increments are accurate (which they might not be towards the high f/stop end). I used ND filters to work aperture over a limited range. Each gamma was set to its default setting, gain to 0dB, daylight WB.

In plotting the results the geometric value of the f/number was used in place of the rounded figure which is displayed on the LCD. Any small irregularities in the plotted curves are related to experimental error.

Using this method you can quantitatively determine the effect of changes to the default settings, such as knee (on the standard gamma curves), black gamma, etc.

 The default curves for Cinegamma (figs 1 & 3) and Standard curves (figs 2 & 4) are here plotted in linear and log form.

The final figure (5) shows the type of influence that gamma level setting has on the cinegamma #4 curve.
Setting gamma level to +20 keeps maximum image level to 95, no matter how bright the subject, and thus absolutely flat highlights (no over exposure and no differentation)
Figure 1: Relation between subject brightness (relative) and resulting image brightness for the four cinegamma curves (compared to Standard Gamma #1): linear plot.
 
Figure 2: Relation between subject brightness (relative) and resulting image brightness for the four standard gamma curves;  linear plot
 
Figure 3: The data of figure 1 replotted showing image "level" against log of relative subject brightness.
 
Figure 4: The data of figure 2 replotted showing image "level" against log of relative subject brightness.
 
Figure 5: The effect of changing the gamma level setting of the Cine4 curve.
 
 
Appendix:
Using images to show the effect of a changing a parameter is limited because one image is just one example. A set of images taken to show the effects of "twiddling the knobs" are most meaningful to the person who took them, which is why anyone who shoots video (and film) for a living always do their own tests. Yes, they start out with guidance from others, but rather than using that guidance as a recipe they run tests for the "look" they want for their project. Really understanding how an image interprets a scene requires knowledge of the original scene, which we can't get unless we were present. Describing the scene is inadequate (requires the old "1000 words"), which is why technical tests use standardised cards. People have tried to communicate the effects of different gamma curves by subjective terms such as "the brighter gamma", which really tell us very little.

Graphs show us how the camera translates subject brightness into image brightness, and importantly how camera adjustments affect that process. Alister used a graph to explain "knee", much more clearly than using just words and a photo.

The camera can record images of relative brightness that range from 0 to 109% -- black to "super" white --- I think everyone understands that. But how much light (subject brightness) is needed to get a specific image level depends on many things (aperture, filters, image processing algorithms). How the image is processed is influenced by our set picture profile, especially the selected gamma curve. In addition, the light coming into the camera is divided into RGB streams, each processed separately; best put that aside for the moment and think just of the total (white) light stream.

So, just as image brightness is given in relative terms ( 0 to 109%) so it is easiest to think of subject brightness in relative terms. I chose to make brightness (think: white card) relative to that which gave 109% when using the cinegamma curves. The curves are very flat at that point, and I might have chosen instead to plot subject brightness relative to that which gave 109% for a standard gamma (so then the curves would have shown subject relative brightness of 5.55 for 109% using cine 4). Or I could have chosen any other subject level --- the important thing is that all the curves are relative to the chosen "standard".

Looking at the curves you immediately see the way cinegamma handles highlight regions. Each halving of relative brightness (1.0 to 0.5, 0.5 to 0.25, etc) is a stop reduction in brightness (on our blank card), so we see that cine4 results in brighter mid-tone images than cine1 (for same settings otherwise). At the same time we see that STD1 will give a more fully modulated image (near saturated) at the same settings, and because the STD curve is steeper the image contrast will be greater; bigger change in image brightness for a given change in subject brightness.

Looking at these graphs we know, when we start shooting tests for our next project, that if we want to achieve contrast similar to the STD curves but need to use a cine curve because our subject has a wide brightness range (e.g. outdoors, white clouds, sunlit and shadow), then we will have to grade the image in post. If our subject is quite flat (small brightness range) then a STD curve might be preferable. In general, the cine gammas capture the most subject data (that is, within black level and white clipping) but require grading in post because otherwise the images look flat. If you want camera output direct to TV, then the STD gammas will be most pleasing (but may have white clipping and/or choked darks).

Going to the final graph, it shows that adjusting gamma level has a big influence on rendering highlights, but not much in mid-tones. And in other curves we see that log curves are more revealing of response at the darker (relative) range of the subject. Of course this set of curves on my blog is a limited one and there are many more parameters that can be plotted (black gamma, for example). And we haven't considered separately the RGB streams, where (for example) we might be concerned with how highlights are handled by each of them, or how skin tones can be distorted at higher zebra (image brightness) levels.

You get a lot of information from response curves and they make it a lot easier to understand what the available controls do. Of course someone has to generate the curves and in the same way that Kodak and Fuji always publish data for their film emulsions (response curves, modulation transfer function, etc) I think it a pity that video camera manufacturers don't do similarly.

Comments



Pieter Dykema    December 05, 2010 11:36 PM

I think this is very nice work. I've seen, and collected, a number of your response curves from around the web. In some of those cases the graphics format is enough larger that one can see details that aren't evident in the smaller format. It would be interesting to see any further work you might do to map the output responses under variations in the gamma level and black gamma settings.

Serena Steuart    December 06, 2010 05:29 PM

Thanks Pieter for you observations. I'll have a look at exploring other functions.

Docea Marius    December 07, 2010 02:01 AM

Good job, though a little hard to understand for beginners like me :-),I have a ex1r filmed at her wedding.have a recommendation for me on camera settings?I tried several combinations, but still are not satisfied with the outcome.I tried gama cine1,2,3,4 & std 1,2,3,4.from what I noticed gama STD 3 works well in natural light & CINE4 in dark light. only good Marius

Serena Steuart    December 08, 2010 05:46 AM

The gamma curves all work to record subject brightnesses within the 0-109% available to us. All of them apply some compression to highlights, the cines a great deal more than STD gammas. Of course you can modify the STD gamma curves by applying "knee" to stop highlights (e.g. clouds) being clipped. You should think of the STD gammas and the cine gammas as being two quite separate sets, and which set you choose will be strongly influenced by what you wish to do in editing. Generally the STD gammas produce an image whose characteristics are typical of that you want to see on screen. The cine gammas record a much wider range of subject brightness and as a result produce rather flat images. However recording a flat image is not a problem because you can adjust that when you grade in post, and in shooting it is better not to clip highlights or choke up darks. So if you don't want to adjust (grade) your images in post you should keep to the STD gamma set. If you are going to grade, then the cine gamma set offers big advantages. Comparing the two sets in figure 1, you see that cine4 most closely matches the STD set at the dark end of the subject, and then rolls over to compact highlights into what remains of the 0-109 space. The differences between cine1,3,4 are in that middle region of the image. Which settings are best for your use has to be found by testing. Personally I generally use cine4, but that doesn't suit all situations. You can find extensive discussion of picture profiles at http://www.dvinfo.net/forum/sony-xdcam-ex-cinealta/110902-picture-profile-recipes.html

Serena Steuart    August 19, 2011 12:23 AM

Have a read of Art Adams explanation of gamma curves: http://provideocoalition.com/index.php/aadams/story/the_not_so_technical_guide_to_s_log_and_log_gamma_curves/



Leave A Comment

Data Entry Error
First Name:  Last Name: 
Title:
Comment: Required Information
  Required InformationIndicates Required Information
Serena Steuart
Melbourne, ,
Australia
Member Bio Member Skills/Specialization

Bio

close
background: Research scientist / professional engineer / science documentaries / astronomy

Specializations

close
Filmmaker
Cameraman
Documentary
Editor
Filmmaker
Freelance
HD available
 
Privacy Policy | Terms Of Service | Contact Us | Support | Help/FAQ | News