Image Processing Toolbox User's Guide Previous page   Next Page

Reading Image Data from a DICOM File

To read image data from a DICOM file, use the dicomread function. The dicomread function reads files that comply with the DICOM specification but can also read certain common noncomplying files.

This example reads an image from a sample DICOM file included with the toolbox.

To view the image data, use one of the toolbox image display functions, imshow or imtool. (Because the image data is signed 16-bit data, you must use the autoscaling syntax with either display function.)

Previous page  Working with DICOM Files Reading Metadata from a DICOM File Next page

© 1994-2005 The MathWorks, Inc.