[vtkusers] Fwd: converting a tube structure to binary image
Cory Quammen
cory.quammen at kitware.com
Wed Feb 10 08:51:27 EST 2016
See vtkPolyDataToImageStencil for a possible way to do this. In
particular, this example may be helpful:
http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Imaging/Core/Testing/Cxx/TestStencilWithPolyDataSurface.cxx
On Wed, Feb 10, 2016 at 8:32 AM, Zein Salah <zeinsalah at gmail.com> wrote:
> Reminder
>
> ---------- Forwarded message ----------
> From: Zein Salah <zeinsalah at gmail.com>
> Date: 2016-01-18 16:33 GMT+01:00
> Subject: converting a tube structure to binary image
> To: VTK Users <vtkusers at vtk.org>
>
>
> Hi,
>
> I have a tube structure in the form of a vtkPolyData, which I create
> using the vtkTubeFilter. I want to convert this into a binary image
> containing the tube voxel as e.g. white and the backround as black
> (kind of volumization).
>
> Is there a direct filter for this in VTK (or ITK)? example?
>
> Much thanks,
>
> Zein
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
--
Cory Quammen
R&D Engineer
Kitware, Inc.
More information about the vtkusers
mailing list