Dilation, erosion, opening, and closing describe what transformation is applied. Operator properties describe how that transformation behaves mathematically.
1. From Operations to Properties
Let \(\Psi\) represent an image operator. Applying it to a binary image \(X\) produces another set:
2. Increasing
An operator \(\Psi\) is increasing when
Before the Operator
After the Same Operator
3. Extensive
An operator is extensive when the original set is always contained in the output:
Closing is extensive:
Dilation is extensive when the origin belongs to \(B\):
4. Anti-Extensive
An operator is anti-extensive when its output remains inside the original set:
Opening is anti-extensive:
Erosion is anti-extensive when the origin belongs to \(B\):
5. Idempotent
An operator is idempotent if applying it again does not change the result:
Opening and closing are idempotent:
6. Translation Invariance
Let \(X_z\) represent \(X\) translated by displacement \(z\). A translation-invariant operator satisfies
7. Linearity and Why Morphology Is Nonlinear
For an ordinary numerical image operator \(T\), linearity means
Ordinary Linear Filtering
A fixed convolution kernel combines samples using weighted sums.
Mathematical Morphology
Morphological operations are based on ordering, geometric fitting, set relations, maxima, or minima.
For example, consider a local maximum operator \(T\):
8. Distributivity Is Not the Same as Linearity
A nonlinear operator can still obey useful algebraic identities.
Dilation distributes over union:
Erosion distributes over intersection:
Dilation
Dilating a union is equivalent to dilating the two sets separately and then taking their union.
Erosion
Eroding an intersection is equivalent to eroding the two sets separately and then intersecting the results.
9. De Morgan’s Laws
Let \(\Omega\) be the binary-image universe. The complement of a set \(A\) is
De Morgan’s laws state
10. Morphological Duality
De Morgan’s laws lead naturally to the dual relationships between morphological operators.
Dilation and erosion are dual:
Opening and closing form another dual pair:
11. Why the Origin Matters for Some Properties
We do not need to redefine the structuring-element origin here, but one detail affects two important properties:
Origin Included
The anchor location is an active member of the structuring element.
Origin Not Included
The anchor still defines the reference location, but that location is not part of \(B\).
12. Comparing the Main Operators
| Operator | Increasing | Extensive | Anti-Extensive | Idempotent | Translation Invariant | Ordinary Linear |
|---|---|---|---|---|---|---|
| Dilation | Yes | If \(0\in B\) | Generally no | Generally no | Yes | No |
| Erosion | Yes | Generally no | If \(0\in B\) | Generally no | Yes | No |
| Opening | Yes | No | Yes | Yes | Yes | No |
| Closing | Yes | Yes | No | Yes | Yes | No |
13. Operator Properties vs. Connectivity and Topology
Properties such as increasing and idempotent describe relationships between sets. They do not automatically say that the topology of an object is preserved.
Components Can Merge
A transformation can connect two previously separate regions.
Components Can Split
A thin connection can disappear and separate one region into multiple components.
Holes Can Change
Small background regions can appear, disappear, or change depending on the transformation.
14. Interactive Property Explorer
The visualizer below does not repeat the moving structuring-element demonstration. Instead, it compares complete images in the relationships required by each property.
Edit the Example
Change the binary set \(X\) and the active positions of \(B\).
The purple center marks the fixed origin. You may include or exclude that location from \(B\) to see why the origin condition matters.
Test a Relationship
Test increasing, extensive, anti-extensive, idempotent, translation invariance, distributivity, De Morgan’s laws, or morphological duality.
The tool constructs the comparison images automatically.
15. Summary
| Property | Definition or Main Idea |
|---|---|
| Increasing | \(X\subseteq Y \Rightarrow \Psi(X)\subseteq\Psi(Y)\) |
| Extensive | \(X\subseteq\Psi(X)\) |
| Anti-Extensive | \(\Psi(X)\subseteq X\) |
| Idempotent | \(\Psi(\Psi(X))=\Psi(X)\) |
| Translation Invariant | \(\Psi(X_z)=(\Psi(X))_z\) |
| Ordinary Linearity | \(T(af+bg)=aT(f)+bT(g)\). Basic morphology is generally nonlinear under ordinary arithmetic superposition. |
| Distributivity | Dilation distributes over union and erosion distributes over intersection. |
| De Morgan | Complement exchanges union and intersection. |
| Morphological Duality | Complement exchanges dilation with erosion and opening with closing, using \(B^r\). |
Be First to Comment