Subject and scan information from a DICOM header to ASCII file

Get some information from the DICOM header and write to an ASCII file
387 Downloads
Aktualisiert 3 Jun 2013

Lizenz anzeigen

USAGE
dicom_get_info_from_header
dicom_get_info_from_header(dcm_files)
dicom_get_info_from_header(dcm_files,file_name)

INPUT
DICOM_GET_INFO_FROM_HEADER by itself will ask for the DICOM files
- DCM_FILES: list of DICOM files (cell array)
- FILE_NAME: output file name. Default: 'dicom_hdr_info'

OUTPUT
FILE_NAME with (if it is not given, 'dicom_hdr_info' in the same folder as the first DICOM file):
- file directory
- file name
- file size (kB)
- subject name
- subject ID
- gender
- birthday
- acquisition date
- age (in years)
- scan dimensions

Tested with DICOM files from Philips Achieva 3T R2.6

Zitieren als

Guilherme Coco Beltramini (2024). Subject and scan information from a DICOM header to ASCII file (https://www.mathworks.com/matlabcentral/fileexchange/41834-subject-and-scan-information-from-a-dicom-header-to-ascii-file), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu DICOM Format finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.3.0.0

Changed input and added screenshot

1.2.0.0

The output file name can be chosen.

1.0.0.0