Hi:<br><br>Maybe you want to use itkOrientImageFilter, it lets you to orient 2D and 3D images like in mimics:<br><br>#include &quot;itkOrientImageFilter.h&quot;<br>typedef itk::OrientImageFilter&lt;ImageType,ImageType&gt; OrientImageFilterType;<br>
OrientImageFilterType::Pointer orienter;<br>orienter-&gt;SetUseImageDirection(true);<br>orienter-&gt;SetDesiredCoordinateOrientation(itk::SpatialOrientation::ITK_COORDINATE_ORIENTATION_RPI);<br>orienter-&gt;SetInput( Reader-&gt;GetOutput() );<br>
orienter-&gt;Update();<br><br>Regars.<br>Iv¨¢n Yerak.<br><br><br><div class="gmail_quote">2008/3/8 tuo zhang &lt;<a href="mailto:zhangtuo123@yahoo.com.cn">zhangtuo123@yahoo.com.cn</a>&gt;:<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&#39;t get the meaning of the arguments of<br>
vtkImagePermute::SetFilteredAxes. Could you help me<br>
please?<br>
<br>
Since SetTransform can&#39;t be used in<br>
vtkDICOMImageReader, and vtkTransformFilter outputs<br>
vtkPointSet(I want vtkImageData), I don&#39;t know how to<br>
make use of them.<br>
<br>
Thanks!<br>
<br>
<br>
--- Goodwin Lawlor &lt;<a href="mailto:goodwin.lawlor@ucd.ie">goodwin.lawlor@ucd.ie</a>&gt;wrote:<br>
<div class="Ih2E3d"><br>
&gt;<br>
&gt; Hi tuo zhang,<br>
&gt;<br>
&gt; You can use the &quot;SetTransform&quot; method in<br>
&gt; vtkImageReader. Supply a<br>
&gt; vtkTransform as an argument.<br>
&gt;<br>
&gt; Look here for the different transforms you may like<br>
&gt; to set up:<br>
&gt;<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>

&gt;<br>
&gt; If want a separate filter to do the transformation<br>
&gt; for you use<br>
&gt; vtkImagePermute.<br>
&gt;<br>
&gt; hth<br>
&gt;<br>
&gt; Goodwin<br>
<br>
<br>
<br>
</div><div class="Ih2E3d"> &nbsp; &nbsp; &nbsp;___________________________________________________________<br>
ÑÅ»¢ÓÊÏä´«µÝÐÂÄê×£¸££¬¸öÐԺؿ¨ËÍÇ×Åó£¡<br>
<a href="http://cn.mail.yahoo.com/gc/index.html?entry=5&amp;souce=mail_mailletter_tagline" target="_blank">http://cn.mail.yahoo.com/gc/index.html?entry=5&amp;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>