| Image Processing Toolbox™ | ![]() |
hdr = hdrread(filename)
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.
The output image hdr is an m-by-n-by-3 image of type single.
hdr = hdrread('office.hdr');
rgb = tonemap(hdr);
imshow(rgb);[1] Larson, Greg W. "Radiance File Formats"http://radsite.lbl.gov/radiance/refer/filefmts.pdf
![]() | graythresh | hdrwrite | ![]() |

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 |