Products & Services Solutions Academia Support User Community Company

Learn more about Image Processing Toolbox   

hdrread - Read high dynamic range (HDR) image

Syntax

hdr = hdrread(filename)

Description

hdr = hdrread(filename) reads the high dynamic range (HDR) image from the file specified by filename. hdr is an m-by-n-by-3 RGB array in the range [0,inf) of type single. For scene-referred data sets, these values usually are scene illumination in radiance units. To display these images, use an appropriate tone-mapping operator.

Class Support

The output image hdr is an m-by-n-by-3 image of type single.

Examples

hdr = hdrread('office.hdr');
rgb = tonemap(hdr);
imshow(rgb);

See Also

hdrwrite, makehdr, tonemap

Reference

[1] Larson, Greg W. "Radiance File Formats"http://radsite.lbl.gov/radiance/refer/filefmts.pdf

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS