[Insight-users] Dicom slice position
Jolinda Smith
jolinda at darkwing . uoregon . edu
Thu, 3 Jul 2003 15:35:34 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_00A7_01C34178.BE7A1A60
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Hi George,
Just a quick note -- be very careful of the "slice thickness" and "slice =
spacing" fields. Slice spacing is supposed to be the center-to-center =
distance between slices, but in reality it's meaning is =
scanner-dependent. "Image number" will not necessarily help either. What =
you can trust are the "Image Orientation Patient" and "Image Position =
Patient" fields. You can use the first to calculate the slice normal, =
and the second to calculate the position of the slice along the slice =
normal (as well as the distance between adjacent slices).
Or, you could use my program MRIConvert, which does all that for you.
Jolinda Smith
Lewis Center for NeuroImaging
University of Oregon
jolinda at uoregon . edu
http://lcni . uoregon . edu/~jolinda/MRIConvert
----- Original Message -----=20
From: Iordanescu, Gheorghe (NIH/CC/DRD)=20
To: 'insight-users at itk . org'=20
Sent: Wednesday, July 02, 2003 10:22 AM
Subject: [Insight-users] Dicom slice position
Hi everybody,
I would like to read a sequence of Dicom images in a volume. =
Unfortunately the images' names do not correspond to their order in =
space. For this I would like to read from each image header the "Image =
number", "Patient position", "slice thickness".and "pixel spacing". Does =
anybody have an example of how to read these fields from a dicom header? =
Thank you very much.
George
------=_NextPart_000_00A7_01C34178.BE7A1A60
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt =
72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue bgColor=3D#ffffff>
<DIV>
<DIV><FONT size=3D2>Hi George,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Just a quick note -- be very careful of the "slice =
thickness"=20
and "slice spacing" fields. Slice spacing is supposed to be the =
center-to-center=20
distance between slices, but in reality it's meaning is =
scanner-dependent.=20
"Image number" will not necessarily help either. What you can trust are =
the=20
"Image Orientation Patient" and "Image Position Patient" fields. You can =
use the=20
first to calculate the slice normal, and the second to calculate the =
position of=20
the slice along the slice normal (as well as the distance between =
adjacent=20
slices).</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Or, you could use my program MRIConvert, which does =
all that=20
for you.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Jolinda Smith<BR>Lewis Center for =
NeuroImaging<BR>University=20
of Oregon<BR><A=20
href=3D"mailto:jolinda at uoregon . edu">jolinda at uoregon . edu</A></FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://lcni . uoregon . edu/~jolinda/MRIConvert">http://lcni . uoregon . =
edu/~jolinda/MRIConvert</A></FONT></DIV></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3DGIordanescu at cc . nih . gov=20
href=3D"mailto:GIordanescu at cc . nih . gov">Iordanescu, Gheorghe =
(NIH/CC/DRD)</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dinsight-users at itk . org=20
href=3D"mailto:'insight-users at itk . org'">'insight-users at itk . org'</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 02, 2003 =
10:22=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Insight-users] Dicom =
slice=20
position</DIV>
<DIV><BR></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi =
everybody,</SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would like to read a =
sequence of=20
Dicom images in a volume. Unfortunately the images' names do not =
correspond to=20
their order in space. For this I would like to read from each image =
header the=20
"Image number", "Patient position", "slice thickness".and "pixel =
spacing".=20
Does anybody have an example of how to read these fields from a dicom =
header?=20
Thank you very much.</SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">George</SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_00A7_01C34178.BE7A1A60--