[vtkusers] Scalars from 3D PolyData to 2D Image for image processing
Mark K. Batesole, DDS, MS
mbatesole at yahoo.com
Mon Oct 29 19:31:46 EDT 2012
Hi David,
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.
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:
http://static.inky.ws/image/3339/image.jpg
http://static.inky.ws/image/3340/image.jpg
Thanks again,
Mark
________________________________
From: David Doria <daviddoria at gmail.com>
To: "Mark K. Batesole, DDS, MS" <mbatesole at yahoo.com>
Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
Sent: Monday, October 29, 2012 4:19 PM
Subject: Re: [vtkusers] Scalars from 3D PolyData to 2D Image for image processing
On Mon, Oct 29, 2012 at 7:17 PM, Mark K. Batesole, DDS, MS
<mbatesole at yahoo.com> wrote:
> Hi all,
>
> Thank you very much ahead of time for taking the time to read this email and
> possibly give me some help. I've been struggling with this issue for
> sometime now. I'm trying to get the point scalars from a polydata into a 2D
> representation so I can perform some image processing (morphology, circle
> finding, etc) and then relate that back to the polydata so I can threshold
> it.
>
> The pipeline in my head looks like this:
> PolyData -> PointData->Scalars->2D Representation -> Image Processing ->
> Identify Pixels -> Relate to 3D PolyData Points -> Threshold PolyData
>
> I've looked at itkConformalFlatteningMeshFilter(), but I'm only well versed
> in python, and apparently the mesh wrappers are incomplete for itk. So this
> is of no help to me. I've also thought about vtkTextureMapToPlane() But all
> the examples only go in one direction: Texture ->PolyData not the other way
> around PolyData->Scalars->Texture. vtkGraph doesn't seem to be what I need
> either.
>
> I'm stuck. Can anyone give me some pointers on how to proceed? Any hint
> would be appreciated.
>
> Thanks again,
> Mark
Is your PolyData inherently 2D? Or can it be sensibly projected to 2D?
Can you describe the dataset?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121029/faa6cc1f/attachment.htm>
More information about the vtkusers
mailing list