[vtkusers] How to color eigenvectors
Dominik Szczerba
domi at vision.ee.ethz.ch
Sun Mar 4 18:04:32 EST 2007
You need to use the window2image filter, not directly connect your data
to the image writer. and the specific coloring you need to do yourself.
--ds
YaoHaofeng wrote:
> I have a set of vectors and I want to color code them according to their
> orientation, e.g. component on x-axis can be colored red, on y-axis
> coded green etc. And I want to save the results to a image as well as
> show it on the screen, now I can correctly save it as .vtk format but
> not other image formats, can anybody tell me how to save as image
> formats such as JPEG? I tried vtkJPEGWriter but because my vectors are
> double type it gives me an error cannot save double into JPEG.
>
> thanks
>
> ------------------------------------------------------------------------
> 使用下一代的 MSN Messenger。 立即尝试!
> <http://imagine-msn.com/messenger/launch80/default.aspx?locale=zh-cn&source=wlmailtagline>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
--
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
More information about the vtkusers
mailing list