[vtkusers] Different colors with vtkImageBlend

Luis Roberto P. Paula luisrpp at gmail.com
Thu Mar 5 09:49:28 EST 2009

Hi All,

I have two 2D images in gray level and I want to blend them using
vtkImageBlend, but I need to set different colors for each image. For
example, the first image the colors will be from black to blue and the
second image from black to red.

Is it possible?

I think I have to use the vtkLookupTable and the vtkImageMapToColor objects,
but I didn't find a good example for this and it is not clear to me how it

Does anybody can help me?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090305/6ba6dc30/attachment.htm>

More information about the vtkusers mailing list