image thumbnail

DPX file reader

version (3.58 KB) by Jeff Mather
A DPX file parser .


Updated 08 Nov 2010

View License

DPX is a high dynamic range file format used for digital motion picture stills and synthetic imagery. The readdpx function extracts image metadata and returns image pixels for each frame.

The DPX format contains numerous bit-depth, pixel layout, and colorspace combinations. This function currently only supports uncompressed 8-bit per sample grayscale and RGB packed images.

This function shows how to use MATLAB's TYPECAST and SWAPBYTE functions to parse files, which is the subject of a January 2006 MATLAB Digest article: <link TBD>.

Cite As

Jeff Mather (2022). DPX file reader (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!