Be careful about interpolating between sampled scalar values. Most interpolation techniques assume a linear relationship between sampled data values, which might not be the case. A linearly interpolated set of colors applied to non-linear data can create misleading and incorrect images. There are two basic approaches to avoiding this problem. First, don't interpolate between data values at all. Only display the data values at the sample points. This results in no interpolation problems, but possibly makes the data harder to interpret. The other possibility is to ensure adequate sampling. If the data is known to be linear between sample points, within an acceptable error, then interpolation can be safely done. What ``acceptable error'' means depends on the application.

2001-01-10