| 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 | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |