<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://vista.su.domains/psych221wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Llamp</id>
	<title>Psych 221 Image Systems Engineering - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://vista.su.domains/psych221wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Llamp"/>
	<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Special:Contributions/Llamp"/>
	<updated>2026-07-12T08:00:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Psych221-Projects-2025-Fall&amp;diff=146318</id>
		<title>Psych221-Projects-2025-Fall</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Psych221-Projects-2025-Fall&amp;diff=146318"/>
		<updated>2025-12-15T10:14:51Z</updated>

		<summary type="html">&lt;p&gt;Llamp: /* Projects for Psych 221 (2025-2026) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://vista.su.domains/psych221wiki/index.php?title=Main_Page#Psych221  Return to Psych 221 Main Page]&lt;br /&gt;
&lt;br /&gt;
There are two deliverables for the project:&lt;br /&gt;
# A group presentation&lt;br /&gt;
# A wiki-style project page write-up&lt;br /&gt;
&lt;br /&gt;
* The write-up should roughly follow [http://vista.su.domains/psych221wiki/index.php?title=Project_Guidelines this organization from the Project Guidelines Page]&lt;br /&gt;
* Please visit [https://www.mediawiki.org/wiki/Help:Editing_pages MediaWiki&#039;s editing help page].&lt;br /&gt;
&lt;br /&gt;
== To set up your project&#039;s page ==&lt;br /&gt;
* Log in to this wiki with the username and password you created.&lt;br /&gt;
* Edit the Projects section of this page (just below). Do this by clicking on &amp;quot;[edit]&amp;quot; to the right of each section title. &lt;br /&gt;
* Make a new line for your project using the format shown below, pasting the line for your project under the last item/group. The first part of the text within the double brackets is the name of the new page.  This must be unique, and putting the group member names is a safest way to assure this. The second part, after &#039;|&#039; is the displayed text and can be your project title.&lt;br /&gt;
* Save the Project section by clicking the Save button at the bottom of the page&lt;br /&gt;
* Finally, click on the link for your project.  This will take you to a new blank page that you can edit.  You can use the basic format for your page that is in the Sample Project.&lt;br /&gt;
* Math tip: Use the tags &amp;amp;lt;math&amp;amp;gt; and &amp;amp;lt;/math&amp;amp;gt; to wrap an equation. For example, this code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;lt;math&amp;gt; a + b = c^2 &amp;lt;/math&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Renders as this equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b = c^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Uploading images - Use the &amp;quot;upload file&amp;quot; link at the upper right of the page.  Do a Google Search to learn &amp;quot;What is the syntax for inserting an uploaded image file into the wikimedia page?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Projects for Psych 221 (2025-2026)==&lt;br /&gt;
# [[WandellFarrellLian|Sample Project]]&lt;br /&gt;
#* Brian Wandell, Joyce Farrell, David Cardinal, Hyunwoo Gu.&lt;br /&gt;
# [[Pokemon Color Transfer|Pokemon Color Transfer]]&lt;br /&gt;
#* Wenxiao Cai, Yifei Deng&lt;br /&gt;
# [[ISETHDR CV Experiment|ISETHDR CV Experiment]]&lt;br /&gt;
#* Gray Kim, Louise Schul&lt;br /&gt;
# [[ISETBIO Baseball Simulation Experiment|ISETBIO Baseball Simulation Experiment]]&lt;br /&gt;
#* Alex Lipman&lt;br /&gt;
# [[Evaluation Pipeline with GenAI-Assisted Algorithm Development for Virtual Image Denoising and Pixel-Defect Correction|Evaluation Pipeline with GenAI-Assisted Algorithm Development for Virtual Image Denoising and Pixel-Defect Correction]]&lt;br /&gt;
#* Stephanie Chang, Yulin Deng&lt;br /&gt;
# [[Simulation of Optical Response in Oral Tissue]]&lt;br /&gt;
#* Sylvia Chin, Lise Brisson&lt;br /&gt;
# [[Neural Network Implementation of S-CIELAB for Perceptual Color Metrics]]&lt;br /&gt;
#* Anna Yu, Shu An&lt;br /&gt;
#[[The Optics of Weaving: Linearity, Reflectance, and Spatial Frequency Simulation]]&lt;br /&gt;
#* Dominique Schleider&lt;br /&gt;
# [[The Statistical Fingerprint of AI-Generated Images]]&lt;br /&gt;
#* Michael Sommeling&lt;br /&gt;
# [[Imaging Strategies for Enhancing Blood Visibility in Oral Tissue]]&lt;br /&gt;
#* Rubina Shrestha, René Nerio Martinez&lt;br /&gt;
# [[Smart Cluster Selection for CIELAB Color Segmentation]]&lt;br /&gt;
#* Sisira Aarukapalli&lt;br /&gt;
# [[HDR-EOTF]]&lt;br /&gt;
#* Luke Lampkins&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=HDR-EOTF&amp;diff=146317</id>
		<title>HDR-EOTF</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=HDR-EOTF&amp;diff=146317"/>
		<updated>2025-12-15T10:13:20Z</updated>

		<summary type="html">&lt;p&gt;Llamp: This page is Luke Lampkins&amp;#039; PSYCH211 final project write-up, summarizing the papers &amp;amp; work done to define a HDR EOTF that is now standardized. This is meant to be informational and provide context to people interested on how &amp;amp; why a change was needed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
For many years, the way light has been delivered from a display to our eyes has been the same. With the advancement of digital imagery, the way we encode &amp;amp; decode light followed this mechanism. But as display technology advances, how we encode &amp;amp; decode light must change along with it. This project will present the problem of encoding luminance of high dynamic range (HDR) imagery, cover work that has been done (how &amp;amp; why) to standardize a luminance encoding function for HDR imagery.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
=== What is an EOTF and Why is it Necessary? ===&lt;br /&gt;
&lt;br /&gt;
An Electro-Optical Transfer Function (EOTF) defines the mathematical relationship between the electrical video signal input to a display and the resulting light output (luminance) measured in candelas per square meter (cd/m²). This function is essential for ensuring consistent picture presentation across different display devices and production environments. As ITU-R BT.1886 emphasizes, reference displays play a crucial role in television programme production, and their characteristics must be unified to ensure that programmes appear consistent regardless of where they are produced or viewed. Without a standardized EOTF, the same video signal could produce dramatically different visual results on different displays, undermining the creative intent of content creators and leading to inconsistent viewer experiences.[3]&lt;br /&gt;
&lt;br /&gt;
[[File:Gamma linear 2.1.1.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above, the &amp;quot;Linear&amp;quot; greyscale is set with code values of &amp;lt;math&amp;gt; 0.0, 0.1, 0.2,...,1.0 &amp;lt;/math&amp;gt;, increasing my 10% every time. As you can see, the ratio does not appear uniform. &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Gamma&amp;quot; greyscale is set with code values of &amp;lt;math&amp;gt; 0.0, 0.1^y, 0.2^y,...,1.0 &amp;lt;/math&amp;gt;, and perceptually looks like a consistent luminance increase. &lt;br /&gt;
&lt;br /&gt;
=== The Historical Use of Gamma Functions ===&lt;br /&gt;
The gamma function became the standard display EOTF due to the inherent physical characteristics of Cathode Ray Tube (CRT) display. CRT displays naturally exhibited a power-law relationship between input voltage and output luminance, typically approximating a gamma value of approximately 2.4-2.5, as documented in ITU-R BT.1886 which specifies γ = 2.4 for the reference EOTF. This power-law relationship offered several practical benefits: it provided perceptually uniform encoding of luminance values, meaning that equal steps in the electrical signal corresponded to roughly equal perceived brightness differences to the human visual system. The complementary relationship between the camera&#039;s opto-electronic transfer function (OETF) specified in ITU-R BT.709 with its 0.45 exponent and the display&#039;s EOTF with exponent 2.4 created an end-to-end system that was both technically efficient and perceptually optimized for human vision.[5]&lt;br /&gt;
&lt;br /&gt;
==== BT1886 ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; L = a(max[(V+b),0])^y &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;where:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; denotes screen luminance in &amp;lt;math&amp;gt;cd/m^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;L_w&amp;lt;/math&amp;gt; denotes luminance for white&lt;br /&gt;
* &amp;lt;math&amp;gt;L_b&amp;lt;/math&amp;gt; denotes luminance for black&lt;br /&gt;
* &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; denotes video signal level&lt;br /&gt;
* &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; denotes the exponent power function, &amp;lt;math&amp;gt;y = 2.40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; denotes user gain &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a = (L_w^{1/y}-L_b^{1/y})^y&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; denotes black level &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b=\frac{L_b^{1/y}}{L_w^{1/y}-L_b^{1/y}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Gamma eotf.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
=== Want and need for HDR ===&lt;br /&gt;
&lt;br /&gt;
A set of experiments at Dolby Laboratories aimed to discover what luminance ranges viewers preferred. They ran an experiment that gathered feedback of a group of viewers that observed imagery from 0.005-18,000nits (using a custom dual-modulation display). One conclusion of this experiment was that, given the variable of display size, a brightness range of 0.005-10,000nits would satisfy 90% of participants. [1] This extended brightness range is essential for accurately rendering specular highlights such as sunlight reflections, car headlights, fire, and other emissive light sources that are critical to conveying the creative intent and emotional impact of a scene. The 10,000 nit specification represents a practical compromise while remaining technically achievable for broadcast and distribution systems. By supporting this expanded dynamic range, HDR systems can finally break free from the CRT-era constraints and deliver images that more closely match the full richness and visual impact of the real world or the filmmaker&#039;s artistic vision.&lt;br /&gt;
&lt;br /&gt;
=== Barten Model ===&lt;br /&gt;
&lt;br /&gt;
The Barten model, developed by P.G.J. Barten, is a mathematical framework that describes the contrast sensitivity function (CSF) of the human visual system—essentially how sensitive our eyes are to differences in brightness at various luminance levels. The model is particularly valuable because it quantifies a fundamental characteristic of human vision: we can detect smaller brightness differences (have higher contrast sensitivity) in darker regions compared to brighter regions. This means that in shadows and mid-tones, the human eye can perceive subtle gradations that would be invisible in highlights. For HDR imaging applications, the Barten model is critically useful because it provides an objective, scientifically-grounded method to determine how many code values (bits) are needed at each luminance level to avoid visible banding or contouring artifacts. &lt;br /&gt;
&lt;br /&gt;
=== Why not Gamma? ===&lt;br /&gt;
&lt;br /&gt;
Explained in [4], the traditional gamma 2.4 transfer function is fundamentally unsuitable for HDR imagery because it inefficiently allocates code values across the extended dynamic range from 0 to 10,000 nits. According to the research presented in the paper, gamma 2.4 would require a 15-bit representation to adequately match the contrast sensitivity function of the human visual system across this expanded luminance range, which is impractical for broadcast and distribution systems. The gamma function wastes precious code values by over-allocating bits to bright areas that are already well below the visible threshold for contouring artifacts, while simultaneously under-allocating bits in darker regions where the human eye is more sensitive to subtle differences. This mismatch between gamma&#039;s encoding characteristics and human visual perception results in visible banding artifacts, particularly in shadow detail and mid-tones. In contrast, the newly developed Perceptual Quantizer (PQ) follows the Barten curve for contrast sensitivity, optimally distributing code values according to human perception and achieving artifact-free performance with only 12 bits for noise-free content or 10 bits for captured imagery with natural noise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barten comparison.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Just Noticeable Difference ===&lt;br /&gt;
&lt;br /&gt;
However, only looking at luminance alone is not suitable. They needed to see if this EOTF would still be perceptually accurate with colors.&lt;br /&gt;
&lt;br /&gt;
The researchers developed a specialized JND Cross test to evaluate color quantization requirements for HDR imagery, which consists of a grid of pixel blocks where each square is perturbed by just 1 code value away from a uniform grey background.&lt;br /&gt;
&lt;br /&gt;
[[File:JNDGrey40.png|800px]]&lt;br /&gt;
&lt;br /&gt;
They generated all possible RGB variations, and if the patches are invisible against the grey background, then quantization artifacts are below the visible threshold. CIEDE2000 color difference formula was used as the metric to judge patch visibility. This revealed that noise-free content (animation, CGI, graphics) requires a ΔE2000 threshold of approximately 2.5 to avoid contouring artifacts, while captured imagery with natural noise can tolerate a higher threshold of approximately 5.0. By applying this JND Cross test across multiple grey levels spanning the entire dynamic range, the researchers determined that 12-bit PQ encoding keeps both monochromatic and color banding artifacts below the visible threshold for noise-free content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
With the results of the data, in 2014 SMPTE standardized the PQ EOTF into their HDR EOTF standard for mastering displays, BT2084. From BT2084:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L=\left(\frac{\max\left[\left(N^{1/m_2}-c_1\right), 0\right]}{c_2-c_3N^{1/m_2}}\right)^{1/m_1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Where:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; denotes a nonlinear color value&lt;br /&gt;
* &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; denotes the corresponding linear color value&lt;br /&gt;
* &amp;lt;math&amp;gt;m_1 = 2610/4096 \times 1/4 = 0.1593017578125&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m_2 = 2523/4096 \times 128 = 78.84375&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c_1 = 3424/4096 = 0.8359375 = c_3 - c_2 + 1&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c_2 = 2413/4096 \times 32 = 18.8515625&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c_3 = 2392/4096 \times 32 = 18.6875&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:PqGraph.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is an example of how a PQ encoded image would be displayed on various displays. In this example, the creative intent was mastered (created) with pixels that peak at 4000nits. It is being viewed on a bright TV, with a peak of 1000nits, and a dark TV, with a peak of 200nits. Here you can see, despite having different dynamic ranges, the image is not stretched to fit within that container. If the display cannot output a brightness encoded into the image, it simply clips:&lt;br /&gt;
&lt;br /&gt;
[[File:Clipping.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
=== Results ===&lt;br /&gt;
&lt;br /&gt;
* Create a new, stable container able to express luminance that more closely resembles what can be found in the real world.&lt;br /&gt;
* Have an absolute EOTF/OETF. This means that the function used to convert the image data does not depend on any display characteristics. When setting levels properly, colorists can be reassured that the TV/display has no control over how the viewer will experience the media.&lt;br /&gt;
* Setting a peak brightness of 10,000nits saves room for technology to catch up, decreasing the need for constant new standardization&lt;br /&gt;
&lt;br /&gt;
=== Outcomes ===&lt;br /&gt;
&lt;br /&gt;
* Today, film &amp;amp; television production companies are mastering content in PQ, following ST2084. They are monitoring the content on 4000 nit reference monitors, ultimately setting the peak brightness of that content to up to 4000nits (any pixel above the mastering display capabilities may be flagged in QC).&lt;br /&gt;
* PQ encoded content has become the preferred choice for some OTT (over-the-top) service providers such as Netflix. &lt;br /&gt;
* PQ is one of 2 EOTFs valid for HDR content. TVs(and other displays) are capable of displaying HDR content encoded in PQ.&lt;br /&gt;
* Every year, brighter &amp;amp; brighter displays come out, that are able to output more of the PQ range&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
* Bit Depth: The number of bits used to represent the color or luminance value of each pixel in a digital image. Higher bit depths allow for more discrete values and smoother gradations. Common bit depths include 8-bit (256 levels), 10-bit (1,024 levels), and 12-bit (4,096 levels).&lt;br /&gt;
&lt;br /&gt;
* Nits: This is the standard unit of measurement for luminance, representing the amount of light emitted from a surface in a particular direction per unit area. Equal to &amp;lt;math&amp;gt; 1cd/m^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* CIE DE2000 (ΔE2000): A color difference formula developed by the International Commission on Illumination (CIE) that quantifies the perceptual difference between two colors. Lower values indicate colors that are more similar; a ΔE2000 value below 1.0 is generally considered imperceptible to the human eye under ideal viewing conditions.&lt;br /&gt;
&lt;br /&gt;
* Dynamic Range: The ratio between the brightest and darkest values in an image or that a display can reproduce, typically expressed in stops (powers of 2) or as a ratio. HDR extends this range significantly beyond traditional Standard Dynamic Range (SDR).&lt;br /&gt;
&lt;br /&gt;
* Just Noticeable Difference (JND): The minimum amount of change in a stimulus (such as brightness or color) that can be detected by a human observer. JND testing is used to determine the minimum bit depth required to avoid visible artifacts.&lt;br /&gt;
&lt;br /&gt;
== Citations == &lt;br /&gt;
&lt;br /&gt;
[1] Scott Daly, Timo Kunkel, Xing Sun, Suzanne Farrell, Poppy Crum, &amp;quot;Preference limits of the visual dynamic range for ultra high quality and aesthetic conveyance,&amp;quot; Proc. SPIE 8651, Human Vision and Electronic Imaging XVIII, 86510J (14 March 2013); https://doi.org/10.1117/12.2013161&lt;br /&gt;
&lt;br /&gt;
[2] &amp;quot;ST 2084:2014 - SMPTE Standard - High Dynamic Range Electro-Optical Transfer Function of Mastering Reference Displays&amp;quot;. SMPTE. doi:10.5594/SMPTE.ST2084.2014. ISBN 978-1-61482-829-7&lt;br /&gt;
&lt;br /&gt;
[3] &amp;quot;BT.1886 : Reference electro-optical transfer function for flat panel displays used in HDTV studio production&amp;quot;. ITU-R Recommendation BT.1886. International Telecommunication Union. March 2011. www.itu.int. Retrieved 2021-11-07.&lt;br /&gt;
&lt;br /&gt;
[4] Brooks, David. &amp;quot;The art of better pixels.&amp;quot; (2015).&lt;br /&gt;
&lt;br /&gt;
[5] &amp;quot;BT.709 : Parameter values for the HDTV standards for production and international programme exchange&amp;quot;. ITU-R Recommendation BT.709-6. International Telecommunication Union. June 2015. www.itu.int.&lt;br /&gt;
&lt;br /&gt;
[6] Dolby Laboratories. &amp;quot;Dolby Vision Whitepaper&amp;quot; (PDF). Archived from the original on 4 June 2016. Retrieved 24 August 2016 from Internet Archive: https://web.archive.org/web/20160604120415/http://www.dolby.com/us/en/technologies/dolby-vision/dolby-vision-white-paper.pdf&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=User:Llamp&amp;diff=146316</id>
		<title>User:Llamp</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=User:Llamp&amp;diff=146316"/>
		<updated>2025-12-15T10:02:15Z</updated>

		<summary type="html">&lt;p&gt;Llamp: Why a different EOTF is needed for HDR imagery&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
For many years, the way light has been delivered from a display to our eyes has been the same. With the advancement of digital imagery, the way we encode &amp;amp; decode light followed this mechanism. But as display technology advances, how we encode &amp;amp; decode light must change along with it. This project will present the problem of encoding luminance of high dynamic range (HDR) imagery, cover work that has been done (how &amp;amp; why) to standardize a luminance encoding function for HDR imagery.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
=== What is an EOTF and Why is it Necessary? ===&lt;br /&gt;
&lt;br /&gt;
An Electro-Optical Transfer Function (EOTF) defines the mathematical relationship between the electrical video signal input to a display and the resulting light output (luminance) measured in candelas per square meter (cd/m²). This function is essential for ensuring consistent picture presentation across different display devices and production environments. As ITU-R BT.1886 emphasizes, reference displays play a crucial role in television programme production, and their characteristics must be unified to ensure that programmes appear consistent regardless of where they are produced or viewed. Without a standardized EOTF, the same video signal could produce dramatically different visual results on different displays, undermining the creative intent of content creators and leading to inconsistent viewer experiences.[3]&lt;br /&gt;
&lt;br /&gt;
[[File:Gamma linear 2.1.1.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Above, the &amp;quot;Linear&amp;quot; greyscale is set with code values of &amp;lt;math&amp;gt; 0.0, 0.1, 0.2,...,1.0 &amp;lt;/math&amp;gt;, increasing my 10% every time. As you can see, the ratio does not appear uniform. &lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Gamma&amp;quot; greyscale is set with code values of &amp;lt;math&amp;gt; 0.0, 0.1^y, 0.2^y,...,1.0 &amp;lt;/math&amp;gt;, and perceptually looks like a consistent luminance increase. &lt;br /&gt;
&lt;br /&gt;
=== The Historical Use of Gamma Functions ===&lt;br /&gt;
The gamma function became the standard display EOTF due to the inherent physical characteristics of Cathode Ray Tube (CRT) display. CRT displays naturally exhibited a power-law relationship between input voltage and output luminance, typically approximating a gamma value of approximately 2.4-2.5, as documented in ITU-R BT.1886 which specifies γ = 2.4 for the reference EOTF. This power-law relationship offered several practical benefits: it provided perceptually uniform encoding of luminance values, meaning that equal steps in the electrical signal corresponded to roughly equal perceived brightness differences to the human visual system. The complementary relationship between the camera&#039;s opto-electronic transfer function (OETF) specified in ITU-R BT.709 with its 0.45 exponent and the display&#039;s EOTF with exponent 2.4 created an end-to-end system that was both technically efficient and perceptually optimized for human vision.[5]&lt;br /&gt;
&lt;br /&gt;
==== BT1886 ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; L = a(max[(V+b),0])^y &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;where:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; denotes screen luminance in &amp;lt;math&amp;gt;cd/m^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;L_w&amp;lt;/math&amp;gt; denotes luminance for white&lt;br /&gt;
* &amp;lt;math&amp;gt;L_b&amp;lt;/math&amp;gt; denotes luminance for black&lt;br /&gt;
* &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; denotes video signal level&lt;br /&gt;
* &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; denotes the exponent power function, &amp;lt;math&amp;gt;y = 2.40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; denotes user gain &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a = (L_w^{1/y}-L_b^{1/y})^y&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; denotes black level &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b=\frac{L_b^{1/y}}{L_w^{1/y}-L_b^{1/y}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Gamma eotf.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
=== Want and need for HDR ===&lt;br /&gt;
&lt;br /&gt;
A set of experiments at Dolby Laboratories aimed to discover what luminance ranges viewers preferred. They ran an experiment that gathered feedback of a group of viewers that observed imagery from 0.005-18,000nits (using a custom dual-modulation display). One conclusion of this experiment was that, given the variable of display size, a brightness range of 0.005-10,000nits would satisfy 90% of participants. [1] This extended brightness range is essential for accurately rendering specular highlights such as sunlight reflections, car headlights, fire, and other emissive light sources that are critical to conveying the creative intent and emotional impact of a scene. The 10,000 nit specification represents a practical compromise while remaining technically achievable for broadcast and distribution systems. By supporting this expanded dynamic range, HDR systems can finally break free from the CRT-era constraints and deliver images that more closely match the full richness and visual impact of the real world or the filmmaker&#039;s artistic vision.&lt;br /&gt;
&lt;br /&gt;
=== Barten Model ===&lt;br /&gt;
&lt;br /&gt;
The Barten model, developed by P.G.J. Barten, is a mathematical framework that describes the contrast sensitivity function (CSF) of the human visual system—essentially how sensitive our eyes are to differences in brightness at various luminance levels. The model is particularly valuable because it quantifies a fundamental characteristic of human vision: we can detect smaller brightness differences (have higher contrast sensitivity) in darker regions compared to brighter regions. This means that in shadows and mid-tones, the human eye can perceive subtle gradations that would be invisible in highlights. For HDR imaging applications, the Barten model is critically useful because it provides an objective, scientifically-grounded method to determine how many code values (bits) are needed at each luminance level to avoid visible banding or contouring artifacts. &lt;br /&gt;
&lt;br /&gt;
=== Why not Gamma? ===&lt;br /&gt;
&lt;br /&gt;
Explained in [4], the traditional gamma 2.4 transfer function is fundamentally unsuitable for HDR imagery because it inefficiently allocates code values across the extended dynamic range from 0 to 10,000 nits. According to the research presented in the paper, gamma 2.4 would require a 15-bit representation to adequately match the contrast sensitivity function of the human visual system across this expanded luminance range, which is impractical for broadcast and distribution systems. The gamma function wastes precious code values by over-allocating bits to bright areas that are already well below the visible threshold for contouring artifacts, while simultaneously under-allocating bits in darker regions where the human eye is more sensitive to subtle differences. This mismatch between gamma&#039;s encoding characteristics and human visual perception results in visible banding artifacts, particularly in shadow detail and mid-tones. In contrast, the newly developed Perceptual Quantizer (PQ) follows the Barten curve for contrast sensitivity, optimally distributing code values according to human perception and achieving artifact-free performance with only 12 bits for noise-free content or 10 bits for captured imagery with natural noise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barten comparison.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Just Noticeable Difference ===&lt;br /&gt;
&lt;br /&gt;
However, only looking at luminance alone is not suitable. They needed to see if this EOTF would still be perceptually accurate with colors.&lt;br /&gt;
&lt;br /&gt;
The researchers developed a specialized JND Cross test to evaluate color quantization requirements for HDR imagery, which consists of a grid of pixel blocks where each square is perturbed by just 1 code value away from a uniform grey background.&lt;br /&gt;
&lt;br /&gt;
[[File:JNDGrey40.png|800px]]&lt;br /&gt;
&lt;br /&gt;
They generated all possible RGB variations, and if the patches are invisible against the grey background, then quantization artifacts are below the visible threshold. CIEDE2000 color difference formula was used as the metric to judge patch visibility. This revealed that noise-free content (animation, CGI, graphics) requires a ΔE2000 threshold of approximately 2.5 to avoid contouring artifacts, while captured imagery with natural noise can tolerate a higher threshold of approximately 5.0. By applying this JND Cross test across multiple grey levels spanning the entire dynamic range, the researchers determined that 12-bit PQ encoding keeps both monochromatic and color banding artifacts below the visible threshold for noise-free content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
With the results of the data, in 2014 SMPTE standardized the PQ EOTF into their HDR EOTF standard for mastering displays, BT2084. From BT2084:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L=\left(\frac{\max\left[\left(N^{1/m_2}-c_1\right), 0\right]}{c_2-c_3N^{1/m_2}}\right)^{1/m_1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Where:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; denotes a nonlinear color value&lt;br /&gt;
* &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; denotes the corresponding linear color value&lt;br /&gt;
* &amp;lt;math&amp;gt;m_1 = 2610/4096 \times 1/4 = 0.1593017578125&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m_2 = 2523/4096 \times 128 = 78.84375&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c_1 = 3424/4096 = 0.8359375 = c_3 - c_2 + 1&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c_2 = 2413/4096 \times 32 = 18.8515625&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c_3 = 2392/4096 \times 32 = 18.6875&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:PqGraph.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is an example of how a PQ encoded image would be displayed on various displays. In this example, the creative intent was mastered (created) with pixels that peak at 4000nits. It is being viewed on a bright TV, with a peak of 1000nits, and a dark TV, with a peak of 200nits. Here you can see, despite having different dynamic ranges, the image is not stretched to fit within that container. If the display cannot output a brightness encoded into the image, it simply clips:&lt;br /&gt;
&lt;br /&gt;
[[File:Clipping.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
=== Results ===&lt;br /&gt;
&lt;br /&gt;
* Create a new, stable container able to express luminance that more closely resembles what can be found in the real world.&lt;br /&gt;
* Have an absolute EOTF/OETF. This means that the function used to convert the image data does not depend on any display characteristics. When setting levels properly, colorists can be reassured that the TV/display has no control over how the viewer will experience the media.&lt;br /&gt;
* Setting a peak brightness of 10,000nits saves room for technology to catch up, decreasing the need for constant new standardization&lt;br /&gt;
&lt;br /&gt;
=== Outcomes ===&lt;br /&gt;
&lt;br /&gt;
* Today, film &amp;amp; television production companies are mastering content in PQ, following ST2084. They are monitoring the content on 4000 nit reference monitors, ultimately setting the peak brightness of that content to up to 4000nits (any pixel above the mastering display capabilities may be flagged in QC).&lt;br /&gt;
* PQ encoded content has become the preferred choice for some OTT (over-the-top) service providers such as Netflix. &lt;br /&gt;
* PQ is one of 2 EOTFs valid for HDR content. TVs(and other displays) are capable of displaying HDR content encoded in PQ.&lt;br /&gt;
* Every year, brighter &amp;amp; brighter displays come out, that are able to output more of the PQ range&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
* Bit Depth: The number of bits used to represent the color or luminance value of each pixel in a digital image. Higher bit depths allow for more discrete values and smoother gradations. Common bit depths include 8-bit (256 levels), 10-bit (1,024 levels), and 12-bit (4,096 levels).&lt;br /&gt;
&lt;br /&gt;
* Nits: This is the standard unit of measurement for luminance, representing the amount of light emitted from a surface in a particular direction per unit area. Equal to &amp;lt;math&amp;gt; 1cd/m^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* CIE DE2000 (ΔE2000): A color difference formula developed by the International Commission on Illumination (CIE) that quantifies the perceptual difference between two colors. Lower values indicate colors that are more similar; a ΔE2000 value below 1.0 is generally considered imperceptible to the human eye under ideal viewing conditions.&lt;br /&gt;
&lt;br /&gt;
* Dynamic Range: The ratio between the brightest and darkest values in an image or that a display can reproduce, typically expressed in stops (powers of 2) or as a ratio. HDR extends this range significantly beyond traditional Standard Dynamic Range (SDR).&lt;br /&gt;
&lt;br /&gt;
* Just Noticeable Difference (JND): The minimum amount of change in a stimulus (such as brightness or color) that can be detected by a human observer. JND testing is used to determine the minimum bit depth required to avoid visible artifacts.&lt;br /&gt;
&lt;br /&gt;
== Citations == &lt;br /&gt;
&lt;br /&gt;
[1] Scott Daly, Timo Kunkel, Xing Sun, Suzanne Farrell, Poppy Crum, &amp;quot;Preference limits of the visual dynamic range for ultra high quality and aesthetic conveyance,&amp;quot; Proc. SPIE 8651, Human Vision and Electronic Imaging XVIII, 86510J (14 March 2013); https://doi.org/10.1117/12.2013161&lt;br /&gt;
&lt;br /&gt;
[2] &amp;quot;ST 2084:2014 - SMPTE Standard - High Dynamic Range Electro-Optical Transfer Function of Mastering Reference Displays&amp;quot;. SMPTE. doi:10.5594/SMPTE.ST2084.2014. ISBN 978-1-61482-829-7&lt;br /&gt;
&lt;br /&gt;
[3] &amp;quot;BT.1886 : Reference electro-optical transfer function for flat panel displays used in HDTV studio production&amp;quot;. ITU-R Recommendation BT.1886. International Telecommunication Union. March 2011. www.itu.int. Retrieved 2021-11-07.&lt;br /&gt;
&lt;br /&gt;
[4] Brooks, David. &amp;quot;The art of better pixels.&amp;quot; (2015).&lt;br /&gt;
&lt;br /&gt;
[5] &amp;quot;BT.709 : Parameter values for the HDTV standards for production and international programme exchange&amp;quot;. ITU-R Recommendation BT.709-6. International Telecommunication Union. June 2015. www.itu.int.&lt;br /&gt;
&lt;br /&gt;
[6] Dolby Laboratories. &amp;quot;Dolby Vision Whitepaper&amp;quot; (PDF). Archived from the original on 4 June 2016. Retrieved 24 August 2016 from Internet Archive: https://web.archive.org/web/20160604120415/http://www.dolby.com/us/en/technologies/dolby-vision/dolby-vision-white-paper.pdf&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Clipping.png&amp;diff=146315</id>
		<title>File:Clipping.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Clipping.png&amp;diff=146315"/>
		<updated>2025-12-15T09:29:46Z</updated>

		<summary type="html">&lt;p&gt;Llamp: Example of PQ clipping at different peak nits&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Example of PQ clipping at different peak nits&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:JNDGrey40.png&amp;diff=146314</id>
		<title>File:JNDGrey40.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:JNDGrey40.png&amp;diff=146314"/>
		<updated>2025-12-15T08:41:44Z</updated>

		<summary type="html">&lt;p&gt;Llamp: Example of JND setup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Example of JND setup&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Gamma_linear_2.1.1.png&amp;diff=146313</id>
		<title>File:Gamma linear 2.1.1.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Gamma_linear_2.1.1.png&amp;diff=146313"/>
		<updated>2025-12-15T07:57:29Z</updated>

		<summary type="html">&lt;p&gt;Llamp: Showing luminance distribution of linear and gamma encoding.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Showing luminance distribution of linear and gamma encoding.&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:PqGraph.png&amp;diff=146312</id>
		<title>File:PqGraph.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:PqGraph.png&amp;diff=146312"/>
		<updated>2025-12-15T07:48:18Z</updated>

		<summary type="html">&lt;p&gt;Llamp: Graph with PQ EOTF&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Graph with PQ EOTF&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Gamma_eotf.png&amp;diff=146311</id>
		<title>File:Gamma eotf.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Gamma_eotf.png&amp;diff=146311"/>
		<updated>2025-12-15T06:21:53Z</updated>

		<summary type="html">&lt;p&gt;Llamp: Graph of different gamma functions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Graph of different gamma functions&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Barten_comparison.png&amp;diff=146310</id>
		<title>File:Barten comparison.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Barten_comparison.png&amp;diff=146310"/>
		<updated>2025-12-15T06:15:19Z</updated>

		<summary type="html">&lt;p&gt;Llamp: gamma &amp;amp; PQ function compared with the barten curve. From &amp;quot;The art of making better pixels&amp;quot; by D. G. Brooks.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
gamma &amp;amp; PQ function compared with the barten curve. From &amp;quot;The art of making better pixels&amp;quot; by D. G. Brooks.&lt;/div&gt;</summary>
		<author><name>Llamp</name></author>
	</entry>
</feed>