[vtkusers] colour jpg image with vtkJPEGwriter
Adam G Chandler
adam.chandler at kcl.ac.uk
Mon Jun 23 10:17:55 EDT 2003
Hi all.
I have written a program which reads in a
matrix of numbers, fills a vtkImageData object with the values from
the matrix, and then writes this object out as a jpg with
vtkJPEGWriter.
At presnt the jpg image that i get out is only in a black and white
scale. Is there some way that i can apply a colour lookup table to the
jpg image, so that the scale is between red (for high values) and
blue(for low values) for example?
Thanks in advance
Adam
Adam G Chandler
mailto:adam.chandler at kcl.ac.uk
More information about the vtkusers
mailing list