Hi David,<br /><br />Thanks for your response. Also thank you so much for contributing to this group. I&#39;ve really learned a lot from all of your postings. <br /><br />Unfortunately I don&#39;t think that will either as there are too many &quot;undercuts&quot; in the data. I&#39;m trying to find the points that delineate the tooth/gums. It can be visualized as the red line in the attached images: <br /><br />http://static.inky.ws/image/3339/image.jpg<br />http://static.inky.ws/image/3340/image.jpg<br /><br />Thanks again,<br />Mark<br /><br>  <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div  dir="ltr" > <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> David Doria &lt;daviddoria@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> &quot;Mark K. Batesole, DDS,
 MS&quot; &lt;mbatesole@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> &quot;vtkusers@vtk.org&quot; &lt;vtkusers@vtk.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, October 29, 2012 4:19 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Scalars from 3D PolyData to 2D Image for image processing<br> </font> </div> <br>
On Mon, Oct 29, 2012 at 7:17 PM, Mark K. Batesole, DDS, MS<BR>&lt;<a ymailto="mailto:mbatesole@yahoo.com" href="mailto:mbatesole@yahoo.com">mbatesole@yahoo.com</a>&gt; wrote:<BR>&gt; Hi all,<BR>&gt;<BR>&gt; Thank you very much ahead of time for taking the time to read this email and<BR>&gt; possibly give me some help. I've been struggling with this issue for<BR>&gt; sometime now. I'm trying to get the point scalars from a polydata into a 2D<BR>&gt; representation so I can perform some image processing (morphology, circle<BR>&gt; finding, etc) and then relate that back to the polydata so I can threshold<BR>&gt; it.<BR>&gt;<BR>&gt; The pipeline in my head looks like this:<BR>&gt; PolyData -&gt; PointData-&gt;Scalars-&gt;2D Representation -&gt; Image Processing -&gt;<BR>&gt; Identify Pixels -&gt; Relate to 3D PolyData Points -&gt; Threshold PolyData<BR>&gt;<BR>&gt; I've looked at itkConformalFlatteningMeshFilter(), but I'm only well versed<BR>&gt; in
 python, and apparently the mesh wrappers are incomplete for itk. So this<BR>&gt; is of no help to me. I've also thought about vtkTextureMapToPlane() But all<BR>&gt; the examples only go in one direction: Texture -&gt;PolyData not the other way<BR>&gt; around PolyData-&gt;Scalars-&gt;Texture. vtkGraph doesn't seem to be what I need<BR>&gt; either.<BR>&gt;<BR>&gt; I'm stuck. Can anyone give me some pointers on how to proceed? Any hint<BR>&gt; would be appreciated.<BR>&gt;<BR>&gt; Thanks again,<BR>&gt; Mark<BR><BR>Is your PolyData inherently 2D? Or can it be sensibly projected to 2D?<BR>Can you describe the dataset?<BR><BR>David<BR><br><br> </div> </div>