[vtkusers] scale and bias used in gradient estimator

Wolfram H Volpi whv88240 at Bayou.UH.EDU
Thu Apr 5 09:54:56 EDT 2001


Hello.  I have one quick question:

What are the definitions of bias and scale and where are they
are computed?

This is how they are used in vtkEncodedGradientEstimator:
// The scale and the bias values for the gradient
// magnitude are used to convert it into a one byte value according to
// v = m*scale + bias where m is the magnitude and v is the resulting
// one byte value.

Thank you for your help,
Wolfv.





More information about the vtkusers mailing list