See these links:
http://www.mmrrcc.upenn.edu/CAMRIS/cfn/dicomhdr.html
[log in to unmask]" target="_blank">http:[log in to unmask]
The attached MATLAB script may be helpful to you in determining your slice order.
Kathy Pearson
UAB Psychology
________________________________________
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Jiang, Zhiguo
Sent: Monday, November 03, 2008 11:42 AM
To: [log in to unmask]
Subject: [SPM] Siemens Mosaic Slice Scanning Order
Dear SPMers
Anyone has any idea that how I could find out the correct slice scanning order required by SPM2 slice time correction? I am working with Simens Trio machine so what I got is a mosaic DICOM file. It’s unlikely that I could tell which slice was scanned first from the time stamp of the file corresponding to the slice( they are all saved in one file, in my case, 30 slices). I am posting the DICOM header information here. Would really appreciate if someone could help me. All information I can get is the DICOM files themselves. The people who did the experiment couldn’t be reached and no way for me to get those original scanner parameters or experiment logbook etc.
Header info:
Filename: '00017.dcm'
FileModDate: '31-Oct-2008 20:02:57'
FileSize: 334136
Format: 'DICOM'
FormatVersion: 3
Width: 384
Height: 384
BitDepth: 12
ColorType: 'grayscale'
SelectedFrames: []
FileStruct: [1x1 struct]
StartOfPixelData: 39216
SpecificCharacterSet: 'ISO_IR 100'
ImageType: 'ORIGINAL\PRIMARY\M\MOSAIC'
SOPClassUID: '1.2.840.10008.5.1.4.1.1.4'
SOPInstanceUID: '1.3.12.2.1107.5.2.12.20504.6.0.3069628010981018'
StudyDate: '20030622'
SeriesDate: '20030622'
AcquisitionDate: '20030622'
ContentDate: '20030622'
StudyTime: '114815.218000'
SeriesTime: '123241.906000'
AcquisitionTime: '122518.255012'
ContentTime: '123314.250000'
AccessionNumber: ''
Modality: 'MR'
Manufacturer: 'SIEMENS'
ReferringPhysicianName: [1x1 struct]
StudyDescription: XXXXXXXXXXX
SeriesDescription: 'MVC_50%_HANDGRIP'
ManufacturerModelName: 'TRIO'
PatientName: [1x1 struct]
PatientID: XXXXXXXXXXX
PatientBirthDate: '19730520'
PatientSex: 'M'
PatientAge: '030Y'
PatientWeight: 59.0200
PatientAddress: ''
PatientComments: 'FATIGUE'
ScanningSequence: 'SE\EP'
SequenceVariant: 'SK'
ScanOptions: 'FS'
MRAcquisitionType: '2D'
SequenceName: '*epfid2d1_64'
AngioFlag: 'N'
SliceThickness: 4
RepetitionTime: 67
EchoTime: 30
NumberOfAverages: 1
ImagingFrequency: 123.2484
ImagedNucleus: '1H'
EchoNumber: 0
MagneticFieldStrength: 2.8936
SpacingBetweenSlices: 4
NumberOfPhaseEncodingSteps: 64
EchoTrainLength: 1
PercentSampling: 1
PercentPhaseFieldOfView: 1
PixelBandwidth: 1775
DeviceSerialNumber: '20504'
SoftwareVersion: '4VA16A'
ProtocolName: 'MVC_50%_HANDGRIP'
TransmitCoilName: 'TxRxHead'
AcquisitionMatrix: [4x1 uint16]
InPlanePhaseEncodingDirection: 'COL'
FlipAngle: 90
VariableFlipAngleFlag: 'N'
SAR: 0.0693
dBdt: 0
PatientPosition: 'HFS'
StudyInstanceUID: '1.3.12.2.1107.5.2.12.20504.6.0.2939997512801434'
SeriesInstanceUID: '1.3.12.2.1107.5.2.12.20504.6.0.3069605871292161'
StudyID: '1'
SeriesNumber: 3
AcquisitionNumber: 17
InstanceNumber: 509
ImagePositionPatient: [3x1 double]
ImageOrientationPatient: [6x1 double]
FrameOfReferenceUID: '1.3.12.2.1107.5.2.12.20504.20030622122633703.0.0.0'
PositionReferenceIndicator: ''
SliceLocation: -62.4048
ImageComments: 'Motion: 0.12,0.05,-0.07,-0.04,-0.11,-0.05'
SamplesPerPixel: 1
PhotometricInterpretation: 'MONOCHROME2'
Rows: 384
Columns: 384
PixelSpacing: [2x1 double]
BitsAllocated: 16
BitsStored: 12
HighBit: 11
PixelRepresentation: 0
SmallestImagePixelValue: 0
LargestImagePixelValue: 1599
WindowCenter: 723
WindowWidth: 1546
WindowCenterWidthExplanation: 'Algo1'
Private_0029_10xx_Creator: 'SIEMENS CSA HEADER'
Private_0029_11xx_Creator: 'SIEMENS MEDCOM HEADER '
Private_0029_1008: [12x1 uint8]
Private_0029_1009: [8x1 uint8]
Private_0029_1010: [2380x1 uint8]
Private_0029_1018: [2x1 uint8]
Private_0029_1019: [8x1 uint8]
Private_0029_1020: [35160x1 uint8]
Private_0029_1131: [12x1 uint8]
Private_0029_1132: [4x1 uint8]
Private_0029_1133: [4x1 uint8]
Private_0029_1134: [12x1 uint8]
StudyComments: ''
Thanks,
Tony
===================================
Please consider the environment before printing this e-mail
Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2008).
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.
Confidentiality Note: This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law. If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If
you have received this communication in error, please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy. Thank you.
function get_ucmode(fname)
if ~exist('fname', 'var')
fname = 'image_1.dcm';
end
if ~exist(fname, 'file')
error('file %s does not exist', fname);
end
info = dicominfo(fname);
str = info.Private_0029_1020;
xstr = char(str');
n = findstr(xstr, 'sSliceArray.ucMode');
[t, r] = strtok(xstr(n:n+100), '=');
ucmode = strtok(strtok(r, '='));
switch(ucmode)
case '0x1'
disp([fname ': Ascending']);
case '0x2'
disp([fname ': Descending']);
case '0x4'
disp([fname ': Interleaved']);
otherwise
disp([fname ': Order undetermined']);
end
|