the beginners explanation of gamma correction and linear workflow

Upload: andriady-ady

Post on 05-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    1/20

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    2/20

    What is Gamma?Its all to do with how devices display images

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    3/20

    What is Gamma?

    Input: Voltage

    To display images on screen an input voltage is applied

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    4/20

    What is Gamma?

    Input: Voltage

    Output: Light Intensity

    Which outputs as light intensity on the screen

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    5/20

    What is Gamma?

    Input: Voltage

    Output: Light Intensity

    Input Signal

    Light Intensity

    In a perfect world, the input would equal the output linearly

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    6/20

    What is Gamma?

    Input: Voltage

    Output: Light Intensity

    Input Signal

    Light Intensity

    But it actually looks something like this (a powerlaw function)

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    7/20

    What is Gamma?

    Input: Voltage

    Output: Light Intensity

    Input Signal

    Light Intensity

    Compensation is added to make it linear again

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    8/20

    What is Gamma?

    Input: Voltage

    Output: Light Intensity

    Gamma

    The numerical value of this exponent is given the name Gamma

    Input Signal

    Light Intensity

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    9/20

    What is Gamma?How does this aect 3D applications?

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    10/20

    What is Gamma?Floating point render engines like LightWave and modo work in linear space internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    11/20

    What is Gamma?

    TIF

    TGA

    JPG

    Gamma Applied

    But texture images and colour pickers already have gamma applied so they can be seen properly on screen

    This doesnt apply to HDR image formats, as they are in linear spaceSome colour pickers can remove gamma from picked colours (e.g. Jovian for LightWave)*

    *

    Linear Internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    12/20

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    13/20

    What is Gamma?

    TIF

    TGA

    JPG

    Gamma Applied

    Render

    Mixed Gamma

    Sa

    Double Ga

    +

    If you dont de-gamma textures and colours, but apply gamma on the nal image,

    you double the gamma on the textures and colours that already had it, making them look washed out

    Linear Internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    14/20

    What is Gamma?

    De-Gamma (1.0 / Target Gamma)

    TGA

    JPG

    TIF

    The trick is to de-gamma the images and picked colours

    Linear Internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    15/20

    What is Gamma?

    De-Gamma (1.0 / Target Gamma)

    TGA

    JPG

    TIF

    Render

    Linear Workow

    This is so everything remains in linear space throughout, this is called Linear Workow

    Linear Internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    16/20

    What is Gamma?

    De-Gamma (1.0 / Target Gamma)

    TGA

    JPG

    TIF

    Render

    Linear Workow

    Sa

    Apply Ga

    But you must apply your target gamma at the end so it displays it correctly on screen

    Linear Internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    17/20

    What is Gamma?

    De-Gamma (1.0 / Target Gamma)

    TGA

    JPG

    TIF

    Render

    Linear Workow

    H

    Tonemap I

    But you must apply your target gamma at the end so it displays it correctly on screen

    Linear Internally

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    18/20

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    19/20

    Gamma Corrected

  • 8/2/2019 The Beginners Explanation of Gamma Correction and Linear Workflow

    20/20