<div dir="ltr">vtkExtractVOI take the xmin and xmax ,..,zmin,zmax<div><br></div><div>of the slices </div><div><br></div><div>not the dimensions</div><div><br></div><div>any other solution please , because I tried it but failed</div>
<div><br></div><div>Best regards <br><br><div class="gmail_quote">On Sat, May 8, 2010 at 12:32 PM, Jérôme <span dir="ltr">&lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
Take a look at vtkExtractVOI.<br>
<br>
HTH<br>
Jerome<br>
<br>
2010/5/8 Ali Habib &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Dear all,<br>
&gt; by using vtk I displayed vtkimagedata and I use the mouse to select<br>
&gt; rectangle part to apply vtkmarchingcube filter  , how to get or cut the part<br>
&gt; of vtkimagedata by knowing xmin, xmax, ymin, ymax, zmin, zmax boundry of the<br>
&gt; disered region<br>
&gt;<br>
&gt; for exampple<br>
&gt; the vtkimage data dimension 213,213,36<br>
&gt; and the boundry of the selection:<br>
&gt; xmin = 309, xmax = 432, ymin= 161 , ymax = 239 , zmin= -99 , zmax = 50<br>
&gt;<br>
&gt; any suggestion please<br>
&gt; Best regards<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
<div><div></div><div class="h5">&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div>