Hello, <br><br>another solution: use the command line tool named "clitkDicomRTStruct2BinaryImage" to read a DicomRT and convert each contour in a binary image. You can enable the compilation of this tools in the vv source by putting the flag "CLITK_BUILD_TOOLS" to ON in the cmake, and then use make clitkDicomRTStruct2BinaryImage<br>
<br>David<br><br><div class="gmail_quote">On Thu, Jul 7, 2011 at 16:40, Joel Schaerer <span dir="ltr"><<a href="mailto:joel.schaerer@gmail.com">joel.schaerer@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 Jothy,<br>
<br>
using vtkCutter on meshes would work, but if you want good speed like vv<br>
has, we have found it is faster to use vtkMarchingSquares on a slice of<br>
the binary mask.<br>
<br>
joel<br>
<div><div></div><div class="h5"><br>
Jothy wrote:<br>
> Hi there,<br>
><br>
> I have seen the new feature to import DICOM RT Structs in VV. I would<br>
> like to do the same in my program. Currently I am able to generate<br>
> meshes from RT structures with vtkDiscreteMarchingCubes. Should I use<br>
> vtkCutter to cut the meshes?<br>
><br>
> Many thanks for your suggestions!<br>
><br>
> Jothy<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> vv mailing list<br>
> <a href="mailto:vv@creatis.insa-lyon.fr">vv@creatis.insa-lyon.fr</a><br>
> <a href="http://www.creatis.insa-lyon.fr/mailman/listinfo/vv" target="_blank">http://www.creatis.insa-lyon.fr/mailman/listinfo/vv</a><br>
><br>
<br>
_______________________________________________<br>
vv mailing list<br>
<a href="mailto:vv@creatis.insa-lyon.fr">vv@creatis.insa-lyon.fr</a><br>
<a href="http://www.creatis.insa-lyon.fr/mailman/listinfo/vv" target="_blank">http://www.creatis.insa-lyon.fr/mailman/listinfo/vv</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>David Sarrut, Phd<br>Chargé de recherche CNRS<br>Laboratoire CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>
Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/rio" target="_blank">http://www.creatis.insa-lyon.fr/rio</a><br>_________________________________<br> "2 + 2 = 5, for extremely large values of 2"<br>
_________________________________</div><br>