[vtkusers] vtkImageActor Interpolation
David Gobbi
dgobbi at atamai.com
Mon May 16 16:31:47 EDT 2005
Hi Mathieu,
The interpolation for vtkImageActor is done using OpenGL's texture
interpolation,
and linear interpolation is the only kind of interpolation supported by
all versions
of OpenGL.
Texture interpolation is done at the end of the OpenGL rendering
pipeline, i.e. after
any lookup table operations are applied (in fact, if you are using
vtkImageActor, you
should usually send the image through vtkImageMapToColors before it goes
into
vtkImageActor).
- David
mathieu coursolle wrote:
>Hi everybody,
>I am currently using vtkImageData and vtkImageActor
>in a 3D environement to display a 2D image.
>
>Everything works fine except that there seems to be some
>artifacts when I set interpolation On. Interpolation seems to
>be done on the lookup table rather than on the image itself.
>
>Is there other type of interpolation than linear for
>image actors?
>
>Here is the code I am using, maybe you will see something wrong.
>
>Thanks a lot!
>
>Mathieu Coursolle
>Software Developper
>ART, Advanced Research Technologies, Inc.
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
More information about the vtkusers
mailing list