<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id7093460"><name>Exploring High Dynamic Range Imaging: §3.3 Global Operator</name>
<metadata>
  <md:version>1.4</md:version>
  <md:created>2006/12/15 20:54:45 US/Central</md:created>
  <md:revised>2006/12/25 16:17:20.797 US/Central</md:revised>
  <md:authorlist>
      <md:author id="tyang">
      <md:firstname>Tianhe</md:firstname>
      
      <md:surname>Yang</md:surname>
      <md:email>tian.yang@rice.edu</md:email>
    </md:author>
      <md:author id="snmcgee">
      <md:firstname>Sarah</md:firstname>
      <md:othername>Nicole</md:othername>
      <md:surname>McGee</md:surname>
      <md:email>snmcgee@rice.edu</md:email>
    </md:author>
      <md:author id="tjohnson">
      <md:firstname>Taylor</md:firstname>
      <md:othername>T</md:othername>
      <md:surname>Johnson</md:surname>
      <md:email>ttj@rice.edu</md:email>
    </md:author>
      <md:author id="rlortman">
      <md:firstname>Robert</md:firstname>
      <md:othername>Lowell</md:othername>
      <md:surname>Ortman</md:surname>
      <md:email>rlortman@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="tyang">
      <md:firstname>Tianhe</md:firstname>
      
      <md:surname>Yang</md:surname>
      <md:email>tian.yang@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="snmcgee">
      <md:firstname>Sarah</md:firstname>
      <md:othername>Nicole</md:othername>
      <md:surname>McGee</md:surname>
      <md:email>snmcgee@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="tjohnson">
      <md:firstname>Taylor</md:firstname>
      <md:othername>T</md:othername>
      <md:surname>Johnson</md:surname>
      <md:email>ttj@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="rlortman">
      <md:firstname>Robert</md:firstname>
      <md:othername>Lowell</md:othername>
      <md:surname>Ortman</md:surname>
      <md:email>rlortman@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="Markpanzee">
      <md:firstname>Mark</md:firstname>
      <md:othername>A.</md:othername>
      <md:surname>Davenport</md:surname>
      <md:email>md@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="richb">
      <md:firstname>Richard</md:firstname>
      <md:othername>G.</md:othername>
      <md:surname>Baraniuk</md:surname>
      <md:email>richb@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract/>
</metadata>
<content>

<para id="id7033968">The term “global” in this case refers to
operators that use one average luminance for the entire image. This
algorithm was taken from Erik Reinhard’s Photographic Tone
Reproduction for Digital Images. In his paper, the average
luminance Lw is taken as</para>

<figure id="id7025561"><media type="image/png" src="equation1.PNG"/>
	<caption/></figure>

<para id="id6383712">where Lw(x,y) is the luminance in the scene, N
is the number of pixels, and D is some small value to prevent you
from taking the log of zero. The luminance at each pixel is then
scaled by the key value a and the average luminance Lw.
<note type="footnote">Erik Reinhard, Photographic Reproduction for
Digital Images (University of Utah, 2002)
&lt;http://www.cs.utah.edu/~reinhard/cdrom&gt; 3.</note></para>

<figure id="id6917094"><media type="image/png" src="equation2.PNG"/>
	<caption/></figure>

<para id="id5032826">The key value of a scene is a value between
zero and one that indicates whether it is very light, very dark, or
around middle grey. For example, the key value of a scene of a
white painted room is very close to one. However, most scenes have
a wide range of brightness, so the key value is usually set to
middle grey, or 0.18.
<note type="footnote">Reinhard 2.</note></para>
<para id="id7144521">Finally, the luminances are scaled down to a
displayable range between 0 and 1.</para>

<figure id="id6937326"><media type="image/png" src="equation3.PNG"/>
	<caption/></figure>

<para id="id7065914">where Lwhite is mapped to the maximum
luminance in the scene. For low dynamic ranges, this will also
enhance the contrast in the image. For the majority of high dynamic
ranges, the algorithm preserves the contrast for low luminance
areas while mapping high luminances to a displayable range.
However, detail is lost in scenes that have very high dynamic
ranges.
<note type="footnote">Reinhard 3.</note></para>
<figure id="id9834533"><media type="image/png" src="memorialGlobal.PNG"/>
	<caption>Global Operator</caption></figure>
</content>
</document>
