dpxinfo

Read metadata from DPX file

Description

example

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.

Examples

collapse all

Read metadata from DPX file into the workspace.

m = dpxinfo('peppers.dpx')
m = struct with fields:
                     Filename: '/mathworks/devel/bat/Bdoc19b/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 scalar 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