[vtkusers] Normalize vtkImageData

Jothybasu K Selvaraj jothybasu at gmail.com
Wed Mar 31 07:26:23 EDT 2010


Thanks very much.It works fine with setScale().

I think vtkImageShiftAndScale would be a more apprpriate name for this
class.

Thanks again,

Jothy

On Tue, Mar 30, 2010 at 6:26 PM, John Drescher <drescherjm at gmail.com> wrote:

> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100331/a9630755/attachment.htm>


More information about the vtkusers mailing list