[vtkusers] Rescaling an image with a function f(x) = a*x+b and vtkImageShiftScale

Jesús Spí­nola jspinola at gmail.com
Fri Feb 2 06:18:45 EST 2007


Hello,

my purpose is to scale an image in the form f(x) = a*x+b, where x is the
input pixel and a and b the parameters for rescaling. My question is if
vtkImageShiftscale class is the appropiate class to do that. In that case
which parameters correspond to a and b? Does a corresponds to scale and b to
shift?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070202/01660358/attachment.htm>


More information about the vtkusers mailing list