StrataQuest Home › StrataQuest Glossary › Structuring element
Core Concept

Structuring element

The small shape that says what "neighborhood" means

Definition
A structuring element is a small binary shape that morphological operationsLoading... use to probe a binary maskLoading... or grayscale image. To dilate, slide the element across the mask; wherever it overlaps any foreground pixel, the pixel under its center becomes foreground. Erode is the mirror image: that pixel stays foreground only where the whole element fits inside foreground. The element plays a kernelLoading...'s role, with overlap in place of multiply-and-sum.
On or off, no weights
Same role as a kernel, different arithmetic
Shape determines direction-sensitivity
Even in all directions, or along one axis
Size sets the scale
Bigger element, stronger effect

Why the term is what it is

The phrase structuring element comes from mathematical morphology, the formal field that gave us dilation, erosion, opening, and closingLoading.... The small shape is what gives the operation its structure. The same dilation produces a very different result with a small square than with a long horizontal line.

Most BOM users never type the phrase. The morphological operations expose the structuring element as Kernel radius (px) and Kernel shape (default Disk) parameters in the GUI, and Top-hat exposes only Kernel radius. Pick a radius and a shape, and the engine builds the element for you. The term is useful when you read the Engines Reference, or when an unexpected result comes from a structuring element whose shape did not match the structures you were trying to find.

Share This Term
Term Connections