IMAGE DISTORTION AND FOCUS
Another assumption in subsequent chapters on processing and measurement is
that dimensions in an image are uniform in all locations and directions. When images
are acquired from digital or film cameras on light microscopes, or from scanners,
that condition is generally met. Digitized video images often suffer from non-square
pixels because different crystal oscillators control the timing of the camera and the
digitizer. Atomic force microscopes compound problems of different scales in the
slow- and fast-scan direction with nonlinearities due to creep in the piezo drives.
Macro cameras may have lens distortions (either pincushion or barrel distortion;
short focal length lenses are particularly prone to fish-eye distortion) that can create
difficulties.
Electron microscopes have a large depth-of-field that allows in-focus imaging
of tilted specimens. This produces a trapezoidal distortion that alters the shape and
size of features at different locations in the image. Photography with cameras (either
film or digital) under situations that view structures at an angle produces the same
foreshortening difficulties. If some known fiducial marks are present, they can be
used to rectify the image as shown in Figure 2.43, but this correction applies only
to features on the corrected surface.
Distortions in images become particularly noticeable when multiple images of
large specimens are acquired and an attempt is made to tile them together to produce
a single mosaic image. This may be desired because, as mentioned in the discussion
of image resolution, acquiring an image with a large number of pixels allows
measurement of features covering a large size range. But even small changes in
magnification or alignment make it very difficult to fit the pieces together.
This should not be confused with software that constructs panoramas from a
series of images taken with a camera on a tripod. Automatic matching of features
along the image edges, and sometimes knowledge about the lens focal length and
distortion, is used to distort the images gradually to create seamless joins. Such
images are intended for visual effect, not measurement or photogrammetry, and
consequently the distortions are acceptable. There are a few cases in which tiling
of mosaics is used for image analysis, but in most cases this is accomplished by
having automatic microscope stages of sufficient precision that translation produces
correct alignment, and the individual images are not distorted.
Light microscope images typically do not have foreshortening distortion because
the depth of field of high magnification optics is small. It is possible, however, to
acquire a high magnification light microscope image of a sample that has a large
amount of relief. No single image can capture the entire depth of the sample, but if
a series of pictures is taken that cover the full z-depth of the sample, they can be
combined to produce a single extended-focus image as shown in Figure 2.44.
The automatic combining of multiple images to keep the best-focused pixel
value at each location requires that the images be aligned and at the same magnifi-
cation, which makes it ideal for microscope applications but much more difficult to
use with macro photography (shift the camera, do not refocus the lens). The software
uses the variance of the pixel values in a small neighborhood at each location to
2241_C02.fm Page 121 Thursday, April 28, 2005 10:23 AM
Copyright © 2005 CRC Press LLC