Je ne suis pas familier de GDCM2, mais les images d&#39;origine ont toutes la même taille et la même position exceptée dans une dimension ? si c&#39;est le cas, le plus simple plutot que de construire un contour par image est de construire un contour 3D directement ... (cf exemples VTK headsq)<div>
un peu rapide pour ce soir, mais dispo dans la semaine si le problème persiste</div><div>Fred  <br><br><div class="gmail_quote">2011/3/19 Olivier Saut <span dir="ltr">&lt;<a href="mailto:Olivier.Saut@math.u-bordeaux1.fr">Olivier.Saut@math.u-bordeaux1.fr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I am writing mathematical models for cancer growth. The computations are based on cartesian grids, so I am dealing with 3D structured grids. The data I am trying to use comes from DICOM RT structs. After reading them with GDCM2, I have a vtkPolyData containing 2D contours on parallel slices (as shown in the attached pictures). I am trying to reconstruct the full 3D volume of the tumor as a binary mask defined on a cartesian grid.<br>

<br>
The following example <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData</a> to construct a volume from the contours does not work in my case (the contour is not closed). Is there a way to construct the volume using VTK, or should I look for more specialized toolkits.<br>

<br>
Thanks a lot !<br><font color="#888888">
<br>
                                     - Olivier<br>
<br>
</font><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></blockquote></div><br><br clear="all"><br>-- <br><br><br>Cordialement,<br>F.Danesi<br>-- <br>Responsable Développement Informatique et Travail Collaboratif<br>Centre Technique DINCCS (Centre Technique Dédié à l’Ingénierie Numérique, la Conception Collaborative et la Simulation)<br>
MICADO / DINCCS<br>Pôle de Haute Technologie, BP 90005<br>08005 Charleville-Mézières Cedex<br>Tel. : +33 (0) 3.24.41.69.55 / +33 (0) 6.62.76.13.32<br>Email : <a href="mailto:frederic.danesi@dinccs.com">frederic.danesi@dinccs.com</a><br>
Web : <a href="http://www.afmicado.com">www.afmicado.com</a> / <a href="http://www.dinccs.com">www.dinccs.com</a><br><br>-----<br><br>DISCLAIMER :<br>This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.<br>
<br>
</div>