<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>Hi all,</P>
<P>vtkDICOMImageReader does not give&nbsp;the Image Orientation, but only the 
image position.</P>
<P>Is that right?&nbsp;If so, DICOMAppHelper::ImagePositionPatientCallback is 
already implemented, so this</P>
<P>would be a nice feature to add.</P>
<P>Also, when reading a stack of slices, GetPixelSpacing() does like this: </P>
<P>if (sortedFiles.size() &gt; 1)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp; 
vtkstd::pair&lt;float, vtkstd::string&gt; p1 = 
sortedFiles[0];<BR>&nbsp;&nbsp;&nbsp; vtkstd::pair&lt;float, vtkstd::string&gt; 
p2 = sortedFiles[1];<BR>&nbsp;&nbsp;&nbsp; this-&gt;DataSpacing[2] = 
fabs(p1.first - p2.first);<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp; 
else<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp; this-&gt;DataSpacing[2] = 
spacing[2];<BR>&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;</P>
<P>Why?</P>
<P><FONT size=1><FONT size=2>Best,</FONT></FONT></P>
<P><FONT size=1><FONT 
size=2>Sebastian</FONT></P></FONT></FONT></FONT></DIV></BODY></HTML>