[vtkusers] Setting VOI in a circular manner
Hayden Smith
s_hayden_28 at yahoo.com
Sun Apr 21 20:05:03 EDT 2013
Hello,
Thank you very much. I have been able to cut a circular portion from the image and construct a polydata using your suggestion. Now suppose I have set two circular ROIs one inside another in a cylindrical manner and I only want to visualize the cylindrical portion, could any one suggest me how that can be done.
Or is there any method available in VTK about cutting out a cylindrical portion from the center of an object.
Thank in advance.
Regards,
Hayden.
From: David Gobbi <david.gobbi at gmail.com>
To: Hayden Smith <s_hayden_28 at yahoo.com>
Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
Sent: Sunday, April 21, 2013 10:13 AM
Subject: Re: [vtkusers] Setting VOI in a circular manner
Hi Hayden,
The vtkROIStencilSource can generate a circular ROI for an image that
some of the other image filters can use, e.g. vtkImageStencil can
black out all pixels that are outside of the ROI.
- David
On Sun, Apr 21, 2013 at 8:58 AM, Hayden Smith <s_hayden_28 at yahoo.com> wrote:
> Dear VTK users,
> I would like to know while using vtkImageReader, is it possible to
> set VOI in a circular manner from the center of image? Current
> implementation shows setting of VOI in a rectangle.
>
> Thanks and regards,
> Hayden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130421/8d9853d0/attachment.htm>
More information about the vtkusers
mailing list