This is machine translation

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

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

Read and Write Image Data from DICOM Files

Read and write data from DICOM files


dicomanon Anonymize DICOM file
dicomdict Get or set active DICOM data dictionary
dicomdisp Display DICOM file structure
dicominfo Read metadata from DICOM message
dicomlookup Find attribute in DICOM data dictionary
dicomread Read DICOM image
dicomuid Generate DICOM unique identifier
dicomwrite Write images as DICOM files

Examples and How To

Read Metadata from DICOM Files

This example shows how to read the metadata of a DICOM file using the dicominfo function.

Read Image Data from DICOM Files

This example shows to read the image data of a DICOM file using the dicomread function.

Write Image Data to DICOM Files

This example shows how to write image data from the MATLAB workspace to a file in the DICOM file format using the dicomwrite function.

Create New DICOM Series

This example shows how to create a new series when writing a modified image to a DICOM file.

Remove Confidential Information from a DICOM File

How to remove confidential patient information from a DICOM file using the dicomanon function.


DICOM Support in the Image Processing Toolbox

Describes the support for files in the Digital Imaging and Communications in Medicine (DICOM) file format.

Explicit Versus Implicit VR Attributes

DICOM will infer a value representation (VR) of an attribute unless a VR is specified.

Was this topic helpful?