[vtkusers] Create Blue-White-Red color map lookup table
Hong Yi
hongyi at renci.org
Wed Sep 28 10:43:03 EDT 2011
Thanks, Eric! Looks like building a color transfer function to build this customized look up table have to be the way to go at this point unless someone else could point to an easier way. Looking forward to hearing any other ideas from the list on implementing a common look up table such as a blue-white-red color map table...
Thanks again,
Hong
From: Eric E. Monson [mailto:emonson at cs.duke.edu]
Sent: Wednesday, September 28, 2011 10:11 AM
To: Hong Yi
Cc: VTK Users
Subject: Re: [vtkusers] Create Blue-White-Red color map lookup table
Hey Hong,
I've never found an easier way. I end up building a color transfer function since that can be set to "diverging" color mode, and then I copy the color values into a lookup table if I can't use the color transfer function directly.
Hopefully someone else has a more clever idea,
-Eric
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Eric E Monson
Duke Visualization Technology Group
On Sep 27, 2011, at 12:49 PM, Hong Yi wrote:
Hello,
I am wondering whether there is a simple way to create a blue-white-red color map vtkLookupTable other than defining scalar to color mapping through color transfer function. If I set the hue range from 0.667 to 0, a rainbow blue to red colormap will be generated. What I want is not a rainbow colormap, but a blue-white-red color map which varies colors from blue through white to red. Any advice is very much appreciated.
Thanks,
Hong
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects athttp://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110928/50bc0f7d/attachment.htm>
More information about the vtkusers
mailing list