ImLab Scilab Function
Last update :
imdcmelement - dicom file header element reading
Calling Sequence
-
[elements_value] = imdcmelement(filename, elements)
Parameters
-
elements_value
: values of the elements wanted by the user in the same order as in call (cf elements)
-
filename
: name of the file containing the image
-
elements
: elements to read (column matrix). Elements which can be read by this function are :
-
'slice thickness'
-
'inversion time'
-
'echo time'
-
'repetition time'
-
'number of averages'
-
'imaging frequency'
-
'matrix size'
-
'field of view'
-
'total receiver gain'
-
'reconstruction scale factor'
-
'transmitter calibration'
-
'study date'
-
'serial number'
-
'image number'
-
'real acquisition time'
-
'real image time'
-
'slice location'
-
'field of view w'
-
'field of view h'
-
'image position vector s'
-
'image position vector c'
-
'image position vector t'
-
'image normal cosinus s'
-
'image normal cosinus c'
-
'image normal cosinus t'
If you want to read all possible elements, use 'all'.
Description
This function reads elements in a dicom file header.