<!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>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have an application to read in 3D medical image
data with vtkVolume16Reader and to show the 3 orthogonal views (A,C,S). My
problem is that the CT scanner scanned the body from top to bottom,
but I want my z-axis to be oriented from bottom to top! How can I change
this with vtkVolume16Reader? </FONT></DIV>
<DIV><FONT face=Arial size=2>Here is my "read-in code":</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># read in the imagedata (in raw vtk format:
converted with dicom2.exe)<BR># image consists of 75 ,512x512 pixels using
16bpp, slices <BR>set deltaX 7.105113e-01 <BR>set deltaY 7.105113e-01 <BR>set
deltaZ 5 <BR>vtkVolume16Reader reader<BR> reader SetDataDimensions 512
512 <BR> reader SetDataByteOrderToLittleEndian <BR>
reader SetFilePrefix "d:/Image/DATARaw/ct"<BR> reader SetImageRange 1 75
<BR> reader SetDataSpacing $deltaX $deltaY $deltaZ <BR> reader
Update </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Has anyone ever encountered the same problem? How
to solve it quickly (as you see, I work in Tcl)? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks on advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><BR>Joeri,<BR>Agfa Gevaert, R&D/TI<BR>+ 32 (0)
3 444 6429,<BR><A href="mailto:stajn@agfa.com">stajn@agfa.com</A><BR><A
href="mailto:joeri_vtk@hotmail.com">joeri_vtk@hotmail.com</A></FONT></DIV></BODY></HTML>