<!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,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I read in medical CT data with vtkVolume16Reader
and I would like to do some oblique reslicing. I currently use vtkImageReslice
to extract the three orthogonal slices, but can anyone give me tips how to
easily extract an oblique slice through for instance 2 points selected in an
axial view?? I think the method SetResliceAxesDirectionCosines is the one to
adjust, but how? I don't have a clue...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is my reslicing code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># reslice origin: the resliced plane always goes
through this point -> used to select the slices<BR>set reslice1OrX 0<BR>set
reslice1OrY 0<BR>set reslice1OrZ 0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>vtkImageReslice slicer1<BR> slicer1 SetInput
[resample GetOutput]<BR> slicer1 SetResliceAxesOrigin $reslice1OrX
$reslice1OrY $reslice1OrZ<BR> slicer1 SetResliceAxesDirectionCosines 1 0 0
0 1 0 0 0 -1<BR> slicer1 SetOutputDimensionality 2 <BR># switch between
nearest neighbour, linear and cubic<BR> slicer1
SetInterpolationModeToCubic</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thx,</DIV>
<DIV><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>