This is machine translation

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

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


Read metadata from DPX file


metadata = dpxinfo(filename)



metadata = dpxinfo(filename) reads information about the image contained in the DPX file specified by filename. metadata is a structure containing the file details.

Digital Picture Exchange (DPX) is an ANSI standard file format commonly used for still-frame storage in digital intermediate post-production facilities and film labs.


collapse all

Read metadata from DPX file into the workspace.

m = dpxinfo('peppers.dpx')
m = struct with fields:
                     Filename: '/mathworks/devel/bat/Bdoc17b/build/matlab/toolbox/images/imdata/peppers.dpx'
                  FileModDate: '16-Mar-2015 09:57:26'
                     FileSize: 892828
                       Format: 'DPX'
                FormatVersion: '2.0'
                        Width: 512
                       Height: 384
                     BitDepth: 36
                    ColorType: 'R,G,B'
              FormatSignature: [88 80 68 83]
                    ByteOrder: 'Little-endian'
                  Orientation: 'Left-to-right, Top-to-bottom'
        NumberOfImageElements: 1
                     DataSign: {'Unsigned'}
    AmplitudeTransferFunction: {'ITU-R 709-4'}
                  Colorimetry: {'ITU-R 709-4'}
             ChannelBitDepths: 12
                PackingMethod: 0
                     Encoding: {'None'}

Input Arguments

collapse all

Name of a DPX file, specified as a string or character vector. filename can contain the absolute path to the file, the name of a file on the MATLAB path, or a relative path.

Data Types: char | string

Output Arguments

collapse all

Information about the DPX image data, returned as a structure.

See Also

Introduced in R2015b

Was this topic helpful?