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

David Doria daviddoria at gmail.com
Mon Oct 29 19:19:19 EDT 2012


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



More information about the vtkusers mailing list