Best viewed on a computer. These pages are not yet optimized for phones: some figures and controls may not fit the screen.
Lesson 3 of 8 All lessons
Microscopy basics · Lesson 3 of 8 · about 5 minutes

The pinhole trick

A confocal puts a tiny hole in front of its detector. Light from the plane you are looking at slips through; light from above and below mostly hits the wall around it. That one hole is why confocal images look crisp instead of hazy.

Trades: Detail · Clean image Confocal only Go deeper: the advanced module on the pinhole →
Rendered close-up of the pinhole plate inside the microscope. A green beam passes through the small central hole; an orange beam from out of focus arrives wide and hits the plate Out-of-focus light: blocked In-focus light: passes RENDER
RENDER · The pinhole plate, from the Core’s animation of the light path. Proportions exaggerated so the hole is visible: behind a 63× objective, with the pinhole in the objective’s own image plane, a 1 AU pinhole is about 28.5 µm across (scan heads that relay the image at another magnification scale it accordingly).
1 · The problem

Thick samples glow everywhere

When the laser shines into a cell, dye molecules glow all along its path: in the plane you focused on, but also above and below it. A regular fluorescence microscope collects all of that light at once.

The sharp layer is still there, but blurry light from the other layers lies on top of it, like trying to read a page through fogged glass.

Drag the divider across the image. Left of it, a widefield microscope records the cell in focus under the blurred glow of cells above and below it, and the nucleus is a soft, bright blob. Right of it, a confocal with its pinhole at 1 AU records the same plane of the same cells.

Simulated confocal image of the same field at 1 Airy unit, right of the divider: crisp microtubules and nucleus, almost no glow Simulated widefield image of cultured cells, left of the divider: microtubules (green) and nucleus (blue) under the blurred glow of the layers above and below WIDEFIELDCONFOCAL · 1 AU SIMULATED · 53 × 35 µm

Left, widefield: the glow of the cells above and below lies over the whole field; a layer 1 µm from focus still gives the camera as much light as it would in focus (100 %). Right, confocal at 1 AU: that layer gives only 3.4 % of its in-focus signal, so most of the glow is gone, while the blur of each glowing point is only slightly narrower (187 nm against 209 nm).

SIMULATED · The same simulated cells (microtubules green, DNA blue) in one focal plane, computed with a vectorial 3D model of a 1.4 NA oil objective (488 nm laser, 520 nm emission) on a 30 nm grid. Left of the divider: widefield, every plane imaged through the emission point spread function onto a camera (1500 photons at the brightest pixels, read noise 1.6 e⁻). Right: point-scanning confocal, pinhole 1 Airy unit, about 40 photons in the brightest microtubule pixels, photon noise included. Each half is scaled to its own brightest pixels: the model’s widefield and confocal brightness are not comparable, because their illumination is set differently. Thin-layer numbers: a uniform fluorescent layer 1 µm from focus, relative to the same layer in focus (excitation and pinhole both included).
DIAGRAM · NOT TO SCALE detector plate with pinhole lens focal plane sample in focus Share that passes the holeCOMPUTED · 1 AU · NA 1.4 OIL −2−1012 0%50%100% fartherµm from focusnearer 76 %
DIAGRAM · not to scale. Angles and distances are exaggerated: behind a 63× objective (pinhole in its 63× image plane), 1 µm of depth in the sample moves the meeting point of the light by millimeters (about 2.6 mm for the central rays; the steep rays cross farther away still, so at this aperture an out-of-focus point never comes to one sharp focus), and a 1 AU hole is about 28.5 µm across. The inset is COMPUTED: the image of the point at the hole, at the sample scale (6 × 6 µm), from the same vectorial model as module 03 (1.4 NA oil, 520 nm light), on a logarithmic brightness scale spanning three decades. Percentages: share of the light this point sends into the objective that passes the hole (the pinhole side only; out of focus the laser light is also spread out, which section 3 includes for a whole layer). In a real microscope even the in-focus light is a small blur about as wide as the hole, not a point.
2 · How the hole sorts light

Only light from the focal plane meets the hole

A lens brings the light from each glowing point back to a point of its own. The hole sits exactly where light from the focal plane comes together. Light from other depths comes together before or beyond the plate, so when it reaches the plate it is still spread out, and most of it is stopped.

Move the glowing point through focus, with the slider or by dragging it in the picture, and watch what reaches the plate.

Depth of the glowing point0.0 µm (in focus)
Light from this point that passes the hole76 %

In focus: the light comes together right in the hole. In our calculation about three quarters of it (76 %) passes; the rest lands on the plate around the hole, mostly in the faint rings that surround the spot.

3 · Try it

One cell, three pinhole sizes

Pinhole size is measured in Airy units (AU): 1 AU is about the size of the bright central spot in the image of a single glowing point; about three quarters of that point’s light passes it. Pick a size and compare it with 1 AU: how bright the cell is, and how much haze is left.

Right of the divider: Simulated confocal image of the same cells with the pinhole at 4 Airy units: microtubules visible, but a soft haze over the cell and a glowing, blurred nucleus Left of the divider: Simulated confocal image of the cells at 1 Airy unit: crisp microtubules and nucleus, almost no haze 1 AU · REFERENCE4 AU SIMULATED · 53 × 35 µm · BRIGHTNESS ADJUSTED FOR EACH
Drag the divider. Left of it: 1 AU, the reference. Right of it: 4 AU, each half scaled to its own brightest pixels.
Light still recorded from a thin fluorescent layer, vs its distance from focus · COMPUTED 00.511.52 0%50%100% distance of the layer from focus (µm) widefield: 100 % at every distance 1 AU 4 AU 1 µm: 29 %
Pinhole size
Show the images
In-focus light that passes the pinhole (a point in focus)93 %
Haze left (a layer 1 µm from focus still gives)29 %
Brightest microtubule pixels at the same detector settings · vs 1 AU2.5×

Open to 4 AU: a point in focus gives only 22 % more light than at 1 AU (93 % against 76 %), but a layer 1 µm away now still gives 29 % of its signal instead of 3.4 % (the brightest microtubule pixels gain 2.5×, mostly from light from other depths). Compare the two halves: at 4 AU a haze lies over the microtubules, and the nucleus glows.

SIMULATED · The same 3D model of cultured cells as section 1, imaged with a vectorial diffraction model: 1.4 NA oil objective, 488 nm laser, 520 nm emission, 30 nm grid, same laser power for every pinhole, photon noise included (about 40 photons in the brightest microtubule pixels at 1 AU). “Brightness adjusted”: each image scaled to its own brightest pixels. “Same detector settings”: every image scaled like the 1 AU image; the brightness ratios quoted are for the microtubule (green) channel in the field shown (the DNA gains more at 4 AU: 3.3× at its brightest pixels, 4.9× in total, because the thick nucleus sends more light from other depths). In-focus light that passes: our calculation of the share of the light the objective collects from a point in focus that passes the pinhole (vectorial model: randomly oriented emitters, index-matched, aberration-free; the scalar textbook value at 1 AU is 84 %; at NA 1.4 more of the light lands outside the central spot: the steepest rays carry more weight, and molecules oriented along the optical axis image as a ring (module 03), so less passes). Haze left: the signal from a thin uniform fluorescent layer 1 µm from focus, as a share of the signal it gives in focus (the laser spreading out of focus and the pinhole both count; a widefield microscope keeps 100 %). The curves are the same layer at every distance. The formulas and every pinhole size are in advanced module 03, The pinhole, and module 02 shows why widefield has no optical section.

Remember

  1. 1The pinhole sits where light from the focal plane comes to a point. Light from other depths arrives spread out and is mostly blocked.
  2. 2Bigger pinhole: brighter, but hazier and a thicker slice. Smaller pinhole: thinner slice, but dimmer.
  3. 31 Airy unit is the usual starting point. Change it when you have a reason, and note the value with your images.
Check yourself

You close the pinhole from 1 AU to a very small size. What happens to the image?

Training

These pages are purely to improve your knowledge: practical training on the instrument is not only recommended but mandatory.