4.25

4.2 | 5 ratings Rate this file 139 downloads (last 30 days) File Size: 8.89 KB File ID: #9683

DPX file reader

by Jeff Mather

 

18 Jan 2006 (Updated 30 Jan 2006)

No BSD License  

A DPX file parser .

Download Now | Watch this File

File Information
Description

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>.

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
19 Sep 2007 Amilcar do Carmo Lucas

This is nice but does not provide support for 10 bit per color sample RGB images.

So I added support for it. I've e-mailed the author about it, but so far I got no reply.

If someone wants the code, just drop me a line.

15 Jan 2008 Amilcar do Carmo Lucas

OK, now I extended the support to 8,10,12,14 and 16 bits per component in both RGB and grayscale, and both big-endian and little endian :)

15 Jan 2008 Glen Alexander

great work hashing through the SMPTE docs. :)

15 Apr 2008 mohamed shalapy

good

09 Jun 2008 sanbong lee

test

09 Jun 2008 sanbong lee

packed dpx

19 May 2009 josef Barcuch

Hi, I havent found .m file with extension fot 10bit dpx, can it be downloaded somewhere ?

17 Sep 2009 Do Quoc Bao

Very useful !!
But I want a code which can read RGB 10 bit dpx :(

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
graphics import Jeff Mather 22 Oct 2008 08:12:47
graphics export Jeff Mather 22 Oct 2008 08:12:47
dpx Jeff Mather 22 Oct 2008 08:12:47
motion picture Jeff Mather 22 Oct 2008 08:12:47
cineon Jeff Mather 22 Oct 2008 08:12:47
dpx KBH KBH 22 Oct 2009 10:43:44
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com