[vtkusers] Scalars from 3D PolyData to 2D Image for image processing

Mark K. Batesole, DDS, MS mbatesole at yahoo.com
Mon Oct 29 19:17:01 EDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121029/c1998792/attachment.htm>


More information about the vtkusers mailing list