<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:windowtext}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p
{margin-right:0cm;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black}
.MsoChpDefault
{}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Some heuristics is needed to decide which contour to connect/terminate/branch.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">You might give a try to the DICOM-RT importer in 3D Slicer’s SlicerRT extension (www.slicerrt.org). It manages branching, smooth end-capping, etc. If it works for you then you can either use it as is or just have a look
at the source code and use it in your own software (the planar contour to closed surface converter only requires VTK).</span><span lang="EN-US"></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Andras</p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none; padding:0cm"><b>From: </b><a href="mailto:pkorir@ebi.ac.uk">Paul Kibet Korir</a><br>
<b>Sent: </b>June 16, 2016 12:53<br>
<b>To: </b><a href="mailto:vtkusers@vtk.org">VTK Users</a><br>
<b>Subject: </b>[vtkusers] CO-PLANAR CONTOURS AND SURFACE GENERATION</p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
<div>
<p>Hi VTK Users,</p>
<p>I'm currently using vtkRuledSurfaceFilter to convert a sequence of contours into a surface. The problem is that if two contours happen to be on the same plane the surface filter will join them resulting in artefacts.
<br>
</p>
<p>Any suggestions on how to deal with this?</p>
<div class="moz-signature">-- <br>
With kind regards,<br>
<br>
<strong>Dr. Paul K Korir, PhD</strong><br>
<i>Scientific Programmer</i><br>
EMBL-EBI<br>
Main Building, A2-35,<br>
WTGC, Hinxton, Cambridge CB10 1SD<br>
P: +44 1223 49 44 22<br>
F: +44 1223 49 44 68</div>
</div>
</body>
</html>