<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">


<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff size=2>If 
you use DICOMImageIO2, does the spacing come back correctly? It may not because 
neither DICOMImageIO2 or DicomImageIO is looking for tag 
0x0018,0x0088</FONT></SPAN></DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff size=2>In 
the DICOM "standard", there is no universally selected manner to determine the 
spacing between slices. Some vendors use a specific tag for slice spacing, some 
use a specific tag for slice location (and you have to compare two adjacent 
slices to determine the spacing), and some use the ImagePositionPatient tags to 
specify the </FONT></SPAN></DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff 
size=2>location of slices (and you have to compare two adjacent slices to 
determine the spacing). None of these are required by the standard. And 
sometimes the values</FONT></SPAN></DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff size=2>in 
them are plain wrong.</FONT></SPAN></DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff size=2>The 
best way we have found to determine the spacing between slices is to use the 
ImagePositionPatient tags.&nbsp; This is what DICOMImageIO2 uses so it may 
report the correct spacing even though it is not looking for tag 
0x0018,0x0088.</FONT></SPAN></DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=715403014-28072004><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Yixun Liu 
  [mailto:yxliu@fudan.edu.cn]<BR><B>Sent:</B> Wednesday, July 28, 2004 5:13 
  AM<BR><B>To:</B> insight-users@itk.org<BR><B>Subject:</B> [Insight-users] 
  about the DicomImageIO<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial>Hi ITKusers,</FONT></DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I 
  intend to use the itkImageSeriesReader combined with the itkDicomImageIO to 
  read DICOM series. The spacing obtained by the itkDicomImageIO is 
  0.9735x0.9735x1. However, when I use the tool Dicom2 to read the tag of the 
  DICOM file, I find the spacing&nbsp;between the slices is 3.000000 which is 
  shown below.</FONT></DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Echo Number(s) (0018,0086)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  1-n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IS [1]<BR>&nbsp;Magnetic Field 
  Strength (0018,0087)&nbsp;&nbsp;&nbsp;&nbsp; 
  1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;DS [15000]<BR>&nbsp; 
  Spacing Between Slices (0018,0088)&nbsp; 
  &nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;DS 
  [<STRONG>3.000000</STRONG>]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Echo Train 
  Length (0018,0091)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; IS 
  [0]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Percent Sampling 
  (0018,0093)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DS [100.000000]&nbsp;</FONT></DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial>Why the itkImageIO can not read the correct spacing 
  between the slices?</FONT></DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial>Thanks a lot</FONT></DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial>Regards,</FONT></DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial>Yixun Liu</FONT></DIV></BLOCKQUOTE></BODY></HTML>