Code covered by the BSD License  

Highlights from
Subject and scan information from a DICOM header to ASCII file

Be the first to rate this file! 13 Downloads (last 30 days) File Size: 2.73 KB File ID: #41834
image thumbnail

Subject and scan information from a DICOM header to ASCII file

by

 

21 May 2013 (Updated )

Get some information from the DICOM header and write to an ASCII file

| Watch this File

File Information
Description

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

Required Products Image Processing Toolbox
MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
24 May 2013

The output file name can be chosen.

03 Jun 2013

Changed input and added screenshot

Contact us