
© 1999 by CRC Press LLC
almost plane data, where the nonlinearity of the piezos caused such a distortion. It is obvious that the
data are now grossly distorted. Both algorithms have two disadvantages. They can only be used for data
that are already known and they can be calculation intensive.
During data acquisition, only part of the data is known. Therefore, other algorithms which only work
on single rows or columns are preferred. Figure 2.51d shows the effect of subtracting the average of a
row from every point in the row. Data sets that have fine structure and no long-range variations of the
slope can safely be subject to this algorithm. These data, however, are affected and change its character.
Figure 2.51e shows the same procedure, but now applied to the columns. Figure 2.51f is an extension to
subtracting the data. Here not only the average value is subtracted, but also the slope of a line fitted to
one row. Hence, all the tilt is also taken out of the data. This is a dangerous function, since it can
completely change the data appearance. However, most data acquisition programs use exactly this func-
tion. Figure 2.51g, finally, is the same procedure applied to rows.
Figure 2.51h shows the effect of an unsharp mask. This procedure first calculates a low-pass filtered
image by averaging all the points in the neighborhood and then subtracting this value. As can be seen,
the effect is a high-pass filter where all the slow variations are gone. While this technique is ideally suited
to finding out if there are short-range variations in the data.
With data sets such as that in Figure 2.35 where low-lying data are almost not visible, one might be
tempted to apply a technique widely used in image processing: histogram equalization (Figure 2.52).
This technique calculates a cumulative histogram of the z-values. The number as a function of the height
class defines a function. The inverse of this function is then applied to the data. After this operation the
histogram has an equal number of points in the height classes. Since it is a nonlinear function, we do
not recommend that it be used on AFM data.
FIGURE 2.49 Three-dimensional rendering of the data of Figure 2.35. The topography channel determines the
height, whereas the adhesion channel gives the color.