OpenEXR

From Wikipedia, the free encyclopedia
OpenEXR
Filename extension .exr
Developed by Industrial Light and Magic
Initial release 1999 (1999)
Latest release 1.7.1 / 31 July 2012 (2012-07-31)
Type of format high dynamic range imaging
Open format? Yes, Modified BSD License
Website www.openexr.com

OpenEXR is a high dynamic range imaging image file format, released as an open standard along with a set of software tools created by Industrial Light and Magic (ILM), released under a free software license similar to the BSD license.[1]

It is notable for supporting 16-bit-per-channel floating point values (half precision), with a sign bit, five bits of exponent, and a ten-bit mantissa. This allows a dynamic range of over thirty stops of exposure.

Both lossless and lossy compression of high dynamic range data is also supported.[2]

OpenEXR Overview

For a full technical introduction of OpenEXR, see the Technical Introduction available on the OpenEXR.org website.[2]

OpenEXR, or simply EXR for short, is a deep raster format developed by ILM and very broadly used in the computer-graphics industry, both visual effects and animation.

OpenEXR's multi-resolution and arbitrary channel format makes it appealing for compositing. OpenEXR alleviates several painful elements of the compositing process. Since it can store arbitrary channels, specular, diffuse, alpha, RGB, normals, and various other types of channels in one file, it takes away the need to store this information in separate files. The multi-channel concept also reduces the necessity to "bake" in the aforementioned data to the final image. If a compositer is not happy with the current level of specularity, he or she can adjust that specific channel.[3]

OpenEXR's API makes tools development a relative ease for developers. Since there are almost never two production pipelines that are the same, custom tools always need to be developed to address problems in the production process, e. g. to address image manipulation issue. OpenEXR's library allows quick and easy access to the image's attributes such as tiles and channels.[3]

History

OpenEXR was created by ILM in 1999 and released to the public in 2003 along with an open source software library.[4][5] It soon received wide adoption by software used in computer graphics, particularly for film and television production. The format has been updated several times, adding support for tiles, mipmaps, new compression methods, and other features.[5] In 2007, OpenEXR was honored with an Academy Award for Technical Achievement.[5]

OpenEXR 2.0 was released in April 2013, extending the format with support for deep image buffers and multiple images embedded in a single file.[5][6][7]

Compression methods

There are 3 general types of lossless compression built into OpenEXR, with two different methods of Zip compressing. For most images without a lot of grain, the two Zip compression methods seem to work best, while the PIZ compression algorithm is better suited to grainy images. The following options are available:[citation needed]

None
Disables all compression.
Run Length Encoding (RLE)
This is a basic form of compression that is comparable to that used by standard Targa files.
Zip (per scanline)
Zip style compression applied to individual scanlines.
Zip (16 scanline blocks)
Zip style compression applied to blocks of 16 scanlines at time. This tends to be the most effective style of compression to use with rendered images that do not have film grain applied.
PIZ (wavelet compression)
This uses a new combined wavelet / Huffman compression. This form of compression is quite effective when dealing with grainy images, and will often surpass any of the other options under grainy conditions.
PXR24 (24 bit data conversion then zipped compression)
This form of compression from Pixar converts data to 24 bit then uses Zip compression. It is lossless for half and 32bit integer data and slightly lossy for 32bit float data.
B44
This form of compression is lossy for half data and stores 32bit data uncompressed.
B44A
An extension to B44 where areas of flat color are further compressed. Regular B44 compresses uniformly regardless of image content.

Credits

From OpenEXR.org's Technical Introduction:

The ILM OpenEXR file format was designed and implemented by Florian Kainz, Wojciech Jarosz, and Rod Bogart. The PIZ compression scheme is based on an algorithm by Christian Rouet. Josh Pines helped extend the PIZ algorithm for 16-bit and found optimizations for the float-to-half conversions. Drew Hess packaged and adapted ILM's internal source code for public release and maintains the OpenEXR software distribution. The PXR24 compression method is based on an algorithm written by Loren Carpenter at Pixar Animation Studios.[8]

Developing with OpenEXR

The OpenEXR library is developed in C++ and is available in source format as well as compiled format for Windows, Mac OS X and Linux. Python bindings for the library are also available.[9]

As of version 1.3.0, released on June 8, 2006, support for multithreaded reading and writing was added to OpenEXR. Multithreaded reading and writing offers a higher performance gain for systems that have multiple cores or CPUs. OpenEXR handles reading and writing by a means of a thread pool.[citation needed]

References

  1. License, openexr.com 
  2. 2.0 2.1 "Data Compression", Technical introduction (openexr.com) 
  3. 3.0 3.1 Kainz, Florian. "OpenEXR File Layout". Industrial Light & Magic. Retrieved 7 December 2013. 
  4. "Industrial Light & Magic Releases Proprietary Extended Dynamic Range Image File Format OpenEXR to Open Source Community" (Press release). 22 January 2003. 
  5. 5.0 5.1 5.2 5.3 "Main OpenEXR web site". 
  6. Stanczyk, Piotr (9 April 2013). "v2.0.0.0 (GM) release announcement". openexr-announce mailing list. https://lists.nongnu.org/archive/html/openexr-announce/2013-04/msg00000.html.
  7. "OpenEXR 2.0". The CGSoceity. 10 April 2013. 
  8. Florian Kainz, Rod Bogart , Piotr Stanczyk. "Technical Introduction to OpenEXR". Industrial Light & Magic. Retrieved 7 December 2013. 
  9. http://pypi.python.org/pypi/OpenEXR

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.