Hi David,<br /><br />Thanks for your response. Also thank you so much for contributing to this group. I've really learned a lot from all of your postings. <br /><br />Unfortunately I don't think that will either as there are too many "undercuts" in the data. I'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 <daviddoria@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> "Mark K. Batesole, DDS,
MS" <mbatesole@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org> <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><<a ymailto="mailto:mbatesole@yahoo.com" href="mailto:mbatesole@yahoo.com">mbatesole@yahoo.com</a>> wrote:<BR>> Hi all,<BR>><BR>> Thank you very much ahead of time for taking the time to read this email and<BR>> possibly give me some help. I've been struggling with this issue for<BR>> sometime now. I'm trying to get the point scalars from a polydata into a 2D<BR>> representation so I can perform some image processing (morphology, circle<BR>> finding, etc) and then relate that back to the polydata so I can threshold<BR>> it.<BR>><BR>> The pipeline in my head looks like this:<BR>> PolyData -> PointData->Scalars->2D Representation -> Image Processing -><BR>> Identify Pixels -> Relate to 3D PolyData Points -> Threshold PolyData<BR>><BR>> I've looked at itkConformalFlatteningMeshFilter(), but I'm only well versed<BR>> in
python, and apparently the mesh wrappers are incomplete for itk. So this<BR>> is of no help to me. I've also thought about vtkTextureMapToPlane() But all<BR>> the examples only go in one direction: Texture ->PolyData not the other way<BR>> around PolyData->Scalars->Texture. vtkGraph doesn't seem to be what I need<BR>> either.<BR>><BR>> I'm stuck. Can anyone give me some pointers on how to proceed? Any hint<BR>> would be appreciated.<BR>><BR>> Thanks again,<BR>> 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>