Table of Contents |
---|
Introduction
...
Eazy math inline | ||
---|---|---|
|
There are actually two gammas:
encoding gamma, which relates scene luminance to image file pixel levels, and
display gamma, which relates image file pixel levels to display luminance. It is typically found in equations of the form,
...
This setting uses the measured of contrast of flat areas P1 and P2 (light and dark portions of each individual slanted-edge Region of Interest (ROI), away from the edge itself) to calculate the gamma for each edge. It is easy to use and quite robust. The only requirements are that the printed chart contrast ratio be known, ratio (<=10, and ) must be entered , and that and the OECF curve should be close to
Eazy math inline | ||
---|---|---|
|
...
The chart on the right is designed for a visual measurement of display gamma. But it rarely displays correctly in web browsers (and may never display correctly on this Atlassian page, where there is no way to set it to 100% size). It has to be displayed in the monitor’s native resolution, 1 monitor pixel to 1 image pixel. Unfortunately, operating system scaling settings and browser magnifications can make it difficult. |
...
Input gamma value(legacy, default) – The inverse of the value entered into the “Gamma (input)” field is used to linearize the data.
Note: The input gamma value represents the “forward” (encoding) gamma value (typically around 0.46 = 1/2.2 for sRGB or Adobe RGB color spaces); the inverse (display gamma) is used for linearization.
Gamma calculated from chart contrast (legacy) – The value selected for the “Chart contrast” setting is used, in combination with the contrast measured from the edge ROI region, to calculate a value for gamma on a per edge ROI basis. The inverse of this gamma is used to linearize the data.
The gamma value is estimated from the ratio of the light and dark pixel levels P1 and P2 in the slanted-edge region (away from the edge) if the chart contrast ratio (light/dark reflectivity) has been entered (and is 10:1 or less). Starting with
,Eazy math inline body P_1/P_2 = \text{(chart contrast ratio)}^{gamma\_encoding} Eazy math inline body \displaystyle gamma\_encoding = \frac{\log(P_1/P_2)}{\log(\text{chart contrast ratio)}} Note: The calculated gamma value(s) are included in the JSON output as the field “gamma_from_chart”, on a per edge ROI basis (this is not a new output)
No linearization (new) – The data is not linearized.
Note: “Input gamma value” of 1 is equivalent to “No linearization”.
Linearly interpolated LUT from step chart (new, requires step chart analysis to be checked) – A linearly interpolated look-up-table (LUT), representing the inverse of the measured OECF, is calculated from the mean of the grayscale patch (step chart) ROIs and the nominal patch densities (or those from a grayscale reference file). The LUT is used to linearize the data.
Note: A grayscale reference file contains measured patch densities and can be loaded from the Rescharts more settings window
Gamma calculated from step chart (new, requires step chart analysis to be checked) – The mean of the grayscale patch (step chart) ROIs and the nominal patch densities (or those from a grayscale reference file) are used to calculate a value for gamma. The calculated gamma is the slope of a linear fit of the patch densities and log(grayscale patch means). The inverse of this gamma is used to linearize the data.
Note: A grayscale reference file contains measured patch densities and can be loaded from the Rescharts more settings window
Note: The calculated gamma value is the same as that which appears on the Rescharts Tonal Response plot, also corresponding to the gray dotted line on the plot (the gamma value is the slope of this line). Note that there is also a gray dashed line that represents a 2nd order polynomial fit.
Note: The calculated gamma value is included in the JSON output as the field “gamma_from_stepchart” (this is not a new output)
Note: The range of patches is limited for the calculation of gamma, specifically using the patches that have a mean within the central 80% of the total range of patch means. Therefore, some darker or lighter patches may not be used for calculation of this gamma.
...
Note: The new dropdown replaces the “Use for MTF” checkbox on all relevant GUIs, which now corresponds with the “Gamma calculated from chart contrast” option in the dropdown.
...
INI settings
A new INI field has been added for control of the new “Linearization method” setting on a per INI section (module/analysis) basis:
...
The user-selected linearization method is now included as a new field in the CSV and JSON outputs, as a way of documenting the input method. The new CSV field is “Linearization method”. The new JSON field is “linearization_method”.
...