<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"><<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>></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 <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Dear all,<br>
> by using vtk I displayed vtkimagedata and I use the mouse to select<br>
> rectangle part to apply vtkmarchingcube filter , how to get or cut the part<br>
> of vtkimagedata by knowing xmin, xmax, ymin, ymax, zmin, zmax boundry of the<br>
> disered region<br>
><br>
> for exampple<br>
> the vtkimage data dimension 213,213,36<br>
> and the boundry of the selection:<br>
> xmin = 309, xmax = 432, ymin= 161 , ymax = 239 , zmin= -99 , zmax = 50<br>
><br>
> any suggestion please<br>
> Best regards<br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
<div><div></div><div class="h5">> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
</div></div></blockquote></div><br></div></div>