<div dir="ltr">Thanks very much.It works fine with setScale().<br><br>I think vtkImageShiftAndScale would be a more apprpriate name for this class.<br><br>Thanks again,<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 6:26 PM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">> I mean how would you divide the scalar value of the vtkImage data by a<br>
> constant values, i.e dividing all the scalar values by 0.5.<br>
><br>
<br>
</div>I can think of an idea that could work with that however it would be<br>
easier to use<br>
<br>
vtkImageShiftScale<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkImageShiftScale.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkImageShiftScale.html</a><br>
<br>
With shift = 0.<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br></div>