You are here : matlabImage Processingdpxread

dpxread() - Image Processing

X = dpxread(filename) reads
image data from the DPX file specified by filename,
returning the image X. 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.


Syntax

X = dpxread(filename) example


Example

Read and Visualize 12-bit RGB ImageOpen This Example
Read image from DPX file into the workspace.RGB = dpxread('peppers.dpx');
Create a scale factor based on the data range of the image data. The image needs to be scaled to span the 16-bit data range expected by imshow.maxOfDataRange = 2^12 - 1;
scaleFactor = intmax('uint16') / maxOfDataRange;
Display the image.figure
imshow(RGB * scaleFactor)


Output / Return Value


Limitations


Alternatives / See Also


Reference