The microscope has long served as a gateway to the invisible world, allowing us to observe the intricate details of cells, bacteria, and materials. The quality of this visualization depends on several factors, with the concept of focus being paramount. While focus is often seen as simply adjusting a knob, the physics of how a lens achieves clarity is complex, especially with three-dimensional specimens. In an optical system, only a narrow slice of the object is truly in perfect focus at any given time. This limitation, known as the depth of focus, fundamentally dictates how much of a specimen’s thickness can be observed with acceptable sharpness.
Defining Depth of Focus and Depth of Field
The terms depth of focus and depth of field are often used interchangeably, yet they describe distinct phenomena on opposite sides of the microscope objective lens. The depth of field (DoFie) refers to the specimen side, defining the acceptable thickness of the object that appears sharp at a fixed focus setting.
For a user, this is the practical metric that determines how much of the sample, measured in micrometers, is simultaneously in focus. Conversely, the depth of focus (DoFo) relates to the image side, describing the distance behind the objective lens where the focused image remains acceptably sharp, where the camera sensor or the observer’s eye is placed.
A shallow depth of field means the user must constantly adjust the fine focus knob to view different layers within a single, slightly thick specimen. The factors that control these two depths are identical, meaning that changing one will directly and predictably affect the other.
The Physics of Control: Numerical Aperture and Magnification
The thickness of the in-focus slice is primarily governed by the objective lens’s characteristics, specifically its numerical aperture and magnification. Numerical aperture (NA) is a measure of the lens’s ability to gather light and resolve fine detail. It is the single most dominant factor determining depth, and it has an inverse squared relationship with the depth of field: as the NA increases, the depth of field decreases dramatically.
This inverse relationship exists because a high NA lens gathers light over a much wider cone angle from the specimen. The wider the cone of light entering the objective, the more quickly the rays diverge and fall out of focus above or below the perfect focal plane. For example, a low NA objective (like a 4x with NA 0.10) has a relatively deep focus, while a high NA objective (like a 100x with NA 0.95) has a very shallow focus.
Magnification also plays a significant role, as it is intrinsically linked to NA in objective design. As the magnification increases, the depth of field decreases sharply, generally following an inverse squared relationship with the total visual magnification.
Practical Trade-offs in High-Power Microscopy
The physical relationship between numerical aperture and depth creates a fundamental trade-off between resolution and depth of field in microscopy. Higher resolution, which is achieved with a higher NA, inevitably results in an extremely shallow depth of field. For high-power objectives, such as the 40x (NA \(\approx\) 0.65) or the 100x oil immersion (NA \(\approx\) 1.25), the depth of field is measured in fractions of a micrometer.
A typical 40x objective might have a depth of field of only about one micrometer, and a 100x objective can be as shallow as \(0.19\) micrometers. This physical constraint forces the user to engage in a technique known as optical sectioning.
Optical sectioning requires the observer to continuously turn the fine focus control to scan through the thickness of the sample. By slowly adjusting the focus, the user sequentially brings different thin layers of the specimen into sharp view. This process allows the observer to mentally reconstruct the three-dimensional structure of the object from a series of two-dimensional slices.
Computational Methods for Extended Focus
The extremely shallow depth of field in high-power microscopy makes it difficult to capture a single, fully focused image of any specimen with significant thickness variation. Modern technology overcomes this limitation through computational image processing techniques. The most common method is called Z-stacking, or focal plane merging.
Z-stacking involves acquiring a series of images of the same field of view, with each image taken at a slightly different focal plane along the optical axis (the Z-axis). A motorized stage automatically moves the specimen in tiny, precise increments, capturing hundreds of images that collectively contain all the in-focus information from the specimen’s entire depth.
Specialized software then analyzes this stack of images, detecting the sharpest pixels from each individual slice. The software extracts only the in-focus regions and digitally combines them to create a single composite image. This resulting image, known as an Extended Depth of Focus (EDOF) image, presents the entire three-dimensional structure in sharp focus, overcoming the physical limitations of the objective lens. Specialized microscopes, such as confocal systems, also manage depth by using a pinhole to physically exclude out-of-focus light, producing thin optical sections that can be used for Z-stacking.

