<< Chapter < Page Chapter >> Page >

The term “global” in this case refers to operators that use one average luminance for the entire image. Thisalgorithm was taken from Erik Reinhard’s Photographic Tone Reproduction for Digital Images. In his paper, the averageluminance Lw is taken as

where Lw(x,y) is the luminance in the scene, N is the number of pixels, and D is some small value to prevent youfrom taking the log of zero. The luminance at each pixel is then scaled by the key value a and the average luminance Lw.

Erik Reinhard, Photographic Reproduction for Digital Images (University of Utah, 2002)<http://www.cs.utah.edu/~reinhard/cdrom>3.

The key value of a scene is a value between zero and one that indicates whether it is very light, very dark, oraround middle grey. For example, the key value of a scene of a white painted room is very close to one. However, most scenes havea wide range of brightness, so the key value is usually set to middle grey, or 0.18.

Reinhard 2.

Finally, the luminances are scaled down to a displayable range between 0 and 1.

where Lwhite is mapped to the maximum luminance in the scene. For low dynamic ranges, this will alsoenhance the contrast in the image. For the majority of high dynamic ranges, the algorithm preserves the contrast for low luminanceareas while mapping high luminances to a displayable range. However, detail is lost in scenes that have very high dynamicranges.

Reinhard 3.

Global Operator

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2006. OpenStax CNX. Sep 27, 2007 Download for free at http://cnx.org/content/col10462/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2006' conversation and receive update notifications?

Ask