Dilation — the mathematical foundation: Gonzalez & Woods define dilation as the set of all positions where the reflected structuring element overlaps the object. In practical terms: place the structuring element centered on every boundary pixel of the object, and every pixel it touches becomes part of the expanded object. A circular structuring element of radius r pixels expands the object uniformly in all directions by r pixels.
The asymmetry of morphological operations: Solomon & Breckon note a critical asymmetry: "we cannot restore by dilation an object which has previously been completely removed by erosion." In StrataQuest's context, this means a Grow operation creates new territory (the cytoplasmic approximation) but cannot recover nuclear boundary details that were lost during detection. The grow distance should be chosen based on cell biology, not to compensate for detection errors.
Structuring element shape matters: The choice of structuring element shape is not trivial. A circular SE produces isotropic growth — the expanded boundary is equidistant from the original at all points. A square SE produces growth that extends farther along diagonals (by a factor of √2), creating slightly octagonal shapes. For cell biology, circular SEs better approximate the roughly radial distribution of cytoplasmic contents around the nucleus.
The Voronoi partition: When growing cells collide, the boundary between them follows the Voronoi diagram — the set of points equidistant from the two nearest nuclei. This is biologically reasonable: in tightly packed epithelial tissue, cell boundaries approximately bisect the space between adjacent nuclei. The Voronoi partition is the mathematically optimal division when you have no other information about where the true cell boundary lies.
Why ring measurements matter: Membrane biomarkers (PD-L1, HER2, E-cadherin) localize to the cell membrane, not the nucleus. Nuclear measurements of these markers would primarily capture background signal plus any membrane that happens to overlap the nuclear area. Cytoplasmic ring measurements, created by growing and subtracting, specifically target the peri-nuclear zone where these markers accumulate — dramatically improving signal-to-noise for membrane and cytoplasmic marker quantification.
Dilation is a fundamental morphological operation — it expands every object boundary outward by the structuring element's radius. When multiple cells grow toward each other, the contested space is split along the midline (Voronoi boundary), which is a reasonable approximation of where real cell boundaries fall in tightly packed tissue. Ring-shaped cytoplasmic regions created by subtraction are crucial for accurately measuring membrane and cytoplasmic biomarkers.