[vtkusers] Multiply pixel values by a constant

Amy Henderson amy.henderson at kitware.com
Fri Jul 6 14:02:58 EDT 2001


You should be able to use vtkImageMathematics.

- Amy

At 02:01 PM 7/6/2001 -0400, TJ Wilkinson wrote:
>I have a volume in floats, and I'd like to volume render it.  However, I
>need to have chars or shorts.  This is not a problem since ImageCast does
>this (thanks), but the values are all normalized between 0 and 1, so I
>need to multiply the image by a constant.  There are also a few
>small negative values that should be zero instead.  Could someone direct
>me to the method by which I can perform arithmetic operations on an image?
>
>Sincerely,
>
>TJ
>
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list