The image formation model: Gonzalez & Woods describe image formation as f(x,y) = i(x,y) × r(x,y) — the observed image is the product of illumination (i, slowly varying, low-frequency) and reflectance/fluorescence (r, rapidly varying, high-frequency). Separating these components is the fundamental pre-processing challenge. In the log domain, this multiplication becomes addition: log(f) = log(i) + log(r), enabling additive separation techniques.
Top-hat as signal separation: Solomon & Breckon explain: "Opening removes small light details whilst leaving darker regions undisturbed. The difference lifts out local details independently of intensity variation." The top-hat transform is the simplest practical implementation of the illumination/signal separation model. It works because biological objects (nuclei, membranes) are spatially compact (high-frequency), while illumination gradients are spatially broad (low-frequency), and the morphological opening selectively removes the high-frequency component.
Why fluorescence images need this: Dobrucki warns that mercury arc lamps produce highly non-uniform field illumination, with intensity dropping significantly from center to edge. Even LEDs exhibit some vignetting. In fluorescence microscopy, this illumination non-uniformity directly scales the measured fluorescence intensity — a cell at the edge produces fewer fluorescence photons simply because it receives less excitation light. The effect is multiplicative: a 30% illumination drop at the field edge means a 30% reduction in all fluorescence measurements at that position.
Frequency domain interpretation: The top-hat transform is equivalent to a spatial high-pass filter — it removes low-frequency content (illumination) and passes high-frequency content (biological features). The Gaussian self-Fourier property (noted by Vetterli) means that a Gaussian smoothing kernel in the spatial domain produces a Gaussian attenuation in the frequency domain. The morphological opening approximates this: the structuring element size sets the effective cutoff frequency between "background" and "signal."
The critical tradeoff: Set the Object Radius too small, and biological features (large nuclei, cell clusters) are mistakenly included in the background estimate — they get subtracted, producing dark halos around bright objects. Set it too large, and local illumination variation isn't captured — correction is incomplete. The ideal radius is 2-3× the largest feature of interest: large enough to exclude all biology from the background estimate, small enough to track the illumination gradient's spatial variation.
Every fluorescence image is the product of two things: the biology (what you want) and the illumination (what you don't). The illumination varies slowly across the field — bright center, dim edges. Background Removal estimates this slow variation using a large smoothing kernel and subtracts it, leaving the biology on a flat baseline. The kernel must be larger than any cell so it doesn't accidentally erase biological signal along with the background.