World Library  
Flag as Inappropriate
Email this Article

RGBE image format

Article Id: WHEBN0008982611
Reproduction Date:

Title: RGBE image format  
Author: World Heritage Encyclopedia
Language: English
Subject: Logluv TIFF, JPEG-HDR, OpenImageIO, CALS Raster file format, FLIC (file format)
Collection: Graphics File Formats, High Dynamic Range File Formats
Publisher: World Heritage Encyclopedia

RGBE image format

Radiance RGBE
Filename extension .hdr
Internet media type image/vnd.radiance
Magic number 23 3f 52 41 44 49 41 4e 43 45 0a
Type of format lossless image format

RGBE is an image format invented by Gregory Ward Larson. It stores pixels as one byte each for RGB (red, green, and blue) values with a one byte shared exponent. Thus it stores four bytes per pixel.

RGBE's biggest advantage is that it allows pixels to have the extended range and precision of floating point values. Often when images are generated from light simulations, the range of pixels values is much greater than will nicely fit into the standard 0..255 range of standard 24-bit image formats. As a result the bright pixels are either clipped to 255 or end up losing all their precision in dimmer pixels. By using a shared exponent, the RGBE format gains some of the advantages of floating point values without the 12 bytes per pixel needed for single precision IEEE floating-point values, or 6 bytes in half precision (and which would cover smaller range). It can handle very bright pixels without loss of precision for darker ones.

A second variant of the format uses the XYZ color model with a shared exponent. The mime type and file extension is identical, thus applications reading this file format need to interpret the embedded information on the color model.

Greg Ward provides code to handle RGBE files in his Radiance rendering system.

See also

External links

  • Radiance file formats
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.