Hi:<br><br>Maybe you want to use itkOrientImageFilter, it lets you to orient 2D and 3D images like in mimics:<br><br>#include "itkOrientImageFilter.h"<br>typedef itk::OrientImageFilter<ImageType,ImageType> OrientImageFilterType;<br>
OrientImageFilterType::Pointer orienter;<br>orienter->SetUseImageDirection(true);<br>orienter->SetDesiredCoordinateOrientation(itk::SpatialOrientation::ITK_COORDINATE_ORIENTATION_RPI);<br>orienter->SetInput( Reader->GetOutput() );<br>
orienter->Update();<br><br>Regars.<br>Iv¨¢n Yerak.<br><br><br><div class="gmail_quote">2008/3/8 tuo zhang <<a href="mailto:zhangtuo123@yahoo.com.cn">zhangtuo123@yahoo.com.cn</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I don't get the meaning of the arguments of<br>
vtkImagePermute::SetFilteredAxes. Could you help me<br>
please?<br>
<br>
Since SetTransform can't be used in<br>
vtkDICOMImageReader, and vtkTransformFilter outputs<br>
vtkPointSet(I want vtkImageData), I don't know how to<br>
make use of them.<br>
<br>
Thanks!<br>
<br>
<br>
--- Goodwin Lawlor <<a href="mailto:goodwin.lawlor@ucd.ie">goodwin.lawlor@ucd.ie</a>>wrote:<br>
<div class="Ih2E3d"><br>
><br>
> Hi tuo zhang,<br>
><br>
> You can use the "SetTransform" method in<br>
> vtkImageReader. Supply a<br>
> vtkTransform as an argument.<br>
><br>
> Look here for the different transforms you may like<br>
> to set up:<br>
><br>
<a href="http://www.cs.utah.edu/classes/cs5630/vtk%204.4.2/vtkhtml/applications/segment/scripts/SliceOrder.tcl" target="_blank">http://www.cs.utah.edu/classes/cs5630/vtk%204.4.2/vtkhtml/applications/segment/scripts/SliceOrder.tcl</a><br>
><br>
> If want a separate filter to do the transformation<br>
> for you use<br>
> vtkImagePermute.<br>
><br>
> hth<br>
><br>
> Goodwin<br>
<br>
<br>
<br>
</div><div class="Ih2E3d"> ___________________________________________________________<br>
ÑÅ»¢ÓÊÏä´«µÝÐÂÄê×£¸££¬¸öÐԺؿ¨ËÍÇ×Åó£¡<br>
<a href="http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline" target="_blank">http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline</a><br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>