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: .
· MATLAB Release: R14SP3