Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

hdrwrite

Write Radiance high dynamic range (HDR) image file

Syntax

hdrwrite(hdr, filename)

Description

hdrwrite(hdr, filename) creates a Radiance high dynamic range (HDR) image file from HDR, a single- or double-precision high dynamic range RGB image. The HDR file with the name filename uses run-length encoding to minimize file size.

Examples

collapse all

Read a high dynamic range image into the workspace.

hdr = hdrread('office.hdr');

Create a new HDR file, writing the high dynamic range data, hdr, to a file with a new filename.

hdrwrite(hdr,'newHDRfile.hdr');

See Also

| |

Introduced in R2008a

Was this topic helpful?