[vtkusers] texture mapping

Bill Lorensen bill.lorensen at gmail.com
Wed Nov 20 09:05:50 EST 2013


Please keep discussion on the list…

Do you want the grid "projected" onto a part of the brain?

Bill


On Wed, Nov 20, 2013 at 8:42 AM, Susanne Schmalkalt
<Susanne.Schmalkalt at gmx.de> wrote:
> I have a let's say 8x8 grid that I want to map to the brain. Per gridpoint I
> have one value. Using a colormap I visualize these values by color and
> inbetween the gridpoints I interpolate to get a smooth colorful image.
>
> Gesendet: Mittwoch, 20. November 2013 um 14:34 Uhr
> Von: "Bill Lorensen" <bill.lorensen at gmail.com>
> An: "Susanne Schmalkalt" <Susanne.Schmalkalt at gmx.de>
> Cc: "VTK Users" <vtkusers at vtk.org>
> Betreff: Re: [vtkusers] texture mapping
> What image do you want to map to the brain?
>
>
> On Wed, Nov 20, 2013 at 7:43 AM, Susanne Schmalkalt
> <Susanne.Schmalkalt at gmx.de> wrote:
>> Hello,
>>
>> I am working on a project and would like to map an image to the surface of
>> a
>> brain. The brain is saved as a vtkMRMLLabelMetaListNode, which is a
>> vtkMRMLNode, a labelmap in Slicer4. I assume, I can extract the surface of
>> the labelmap with vtkGeometryFilter. Now, to apply the texture to the
>> surface I was hoping to find something like vtkTextureMaptoSurface, but
>> all
>> I found was vtkTextureMaptoPlane, -Sphere, etc.
>> Does someone know a nice example that does something similar? I found many
>> users asking similar questions also in vtkusers mailing list but the
>> answers
>> weren't visible or simply not there.
>>
>> The second question (and perhaps also important information for the first
>> one): To get the image I am using vtkpolydata to form a grid, assign my
>> measurement values to the mesh and visualize it using a colormap. I
>> couldn't
>> find any way to turn this resulting image into a vtkImage, but I assume
>> that
>> I would need this inorder to use the texturemapping, right?
>>
>> Thank you a lot for any help or hints!
>> Susi
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list