[vtkusers] Normalize vtkImageData

John Drescher drescherjm at gmail.com
Tue Mar 30 13:26:33 EDT 2010


> I mean how would you divide the scalar value of the vtkImage data by a
> constant values, i.e dividing all the scalar values by 0.5.
>

I can think of an idea that could work with that however it would be
easier to use

vtkImageShiftScale

http://www.vtk.org/doc/nightly/html/classvtkImageShiftScale.html

With shift = 0.

John



More information about the vtkusers mailing list