[vtkusers] get the corresponding part of vtkimagedata
Ali Habib
ali.mahmoud.habib at gmail.com
Sat May 8 06:55:31 EDT 2010
vtkExtractVOI take the xmin and xmax ,..,zmin,zmax
of the slices
not the dimensions
any other solution please , because I tried it but failed
Best regards
On Sat, May 8, 2010 at 12:32 PM, Jérôme <jerome.velut at gmail.com> wrote:
> Hi,
> Take a look at vtkExtractVOI.
>
> HTH
> Jerome
>
> 2010/5/8 Ali Habib <ali.mahmoud.habib at gmail.com>:
> > Dear all,
> > by using vtk I displayed vtkimagedata and I use the mouse to select
> > rectangle part to apply vtkmarchingcube filter , how to get or cut the
> part
> > of vtkimagedata by knowing xmin, xmax, ymin, ymax, zmin, zmax boundry of
> the
> > disered region
> >
> > for exampple
> > the vtkimage data dimension 213,213,36
> > and the boundry of the selection:
> > xmin = 309, xmax = 432, ymin= 161 , ymax = 239 , zmin= -99 , zmax = 50
> >
> > any suggestion please
> > Best regards
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100508/1fb9ed4a/attachment.htm>
More information about the vtkusers
mailing list