Hi Gib,<br><br>I have a VTK filter that does thresholded flood-filling, it would do a little better than thresholding by itself:<br><a href="http://github.com/dgobbi/VTK/blob/5df7a182240c/Imaging/vtkImageFloodFill.h">http://github.com/dgobbi/VTK/blob/5df7a182240c/Imaging/vtkImageFloodFill.h</a><br>
<a href="http://github.com/dgobbi/VTK/blob/5df7a182240c/Imaging/vtkImageFloodFill.cxx">http://github.com/dgobbi/VTK/blob/5df7a182240c/Imaging/vtkImageFloodFill.cxx</a><br><a href="http://github.com/dgobbi/VTK/blob/5df7a182/Imaging/Testing/Tcl/TestFloodFill.tcl">http://github.com/dgobbi/VTK/blob/5df7a182/Imaging/Testing/Tcl/TestFloodFill.tcl</a><br>
But I'd have to agree with Mauro that vessel segmentation might be tough with VTK alone.<br><br> David <br><br><div class="gmail_quote">On Sat, Dec 18, 2010 at 5:37 PM, Mauro Maiorca <span dir="ltr"><<a href="mailto:mauromaiorca@gmail.com">mauromaiorca@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Gib,<br>
<br>
if I've understood correctly your problem, you want to segment ("fill<br>
in") the vessels then render the segmented image.<br>
VTK is great for rendering, but you might want to use ITK<br>
(<a href="http://www.itk.org" target="_blank">www.itk.org</a>) for segmentation (for just a threshold you can still use<br>
VTK - though).<br>
You might also want to have a look to ITK-snap<br>
(<a href="http://www.itksnap.org" target="_blank">http://www.itksnap.org</a>) and other VTK-related applications<br>
(<a href="http://www.vtk.org/VTK/resources/applications.html" target="_blank">http://www.vtk.org/VTK/resources/applications.html</a>).<br>
<br>
cheers,<br>
<font color="#888888">Mauro<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Sun, Dec 19, 2010 at 9:59 AM, Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>> wrote:<br>
><br>
> I've just started to become aware of the image-processing capabilities of VTK, and I'm wondering if I can use it for some tasks that I was expecting to use Amira for. We are generating images in which the walls of blood vessels are stained, so that the vessels appear in 3D as tubes. I believe the first processing step I need to make is to "fill in" the vessels, i.e. generate a thresholded 3D image in which the vessels appear solid. Is this the kind of thing that VTK can handle?<br>
><br>
> Thanks<br>
> Gib<br>
><br>
> ----------------------------------------------------------------<br>
> This message was sent using IMP, the Internet Messaging Program.<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <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: <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>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <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: <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>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>