Morphological gradient
difference between the dilation and the erosion of a given image

In mathematical morphology and digital image processing, a morphological gradient is the difference between the dilation and the erosion of a given image. It is an image where each pixel value (typically non-negative) indicates the contrast intensity in the close neighborhood of that pixel. It is useful for edge detection and segmentation applications.
Mathematical definition and types
Let
f
:
E
↦
R
{\displaystyle f:E\mapsto R}
be a grayscale image, mapping points from a Euclidean space or discrete grid E (such as R2 or Z2) into the real line. Let
b
(
x
)
{\displaystyle b(x)}
be a grayscale structuring element. Usually, b is symmetric and has short-support, e.g.,
b
(
x
)
=
{
0
,
|
x
|
≤
1
,
−
∞
,
otherwise
{\displaystyle b(x)=\left\{{\begin{array}{ll}0,&|x|\leq 1,\\-\infty ,&{\mbox{otherwise}}\end{array}}\right.}
.
Then, the morphological gradient of f is given by:
G
(
f
)
=
f
⊕
b
−
f
⊖
b
{\displaystyle G(f)=f\oplus b-f\ominus b}
,
where
⊕
{\displaystyle \oplus }
and
⊖
{\displaystyle \ominus }
denote the dilation and the erosion, respectively.
An internal gradient is given by:
G
i
(
f
)
=
f
−
f
⊖
b
{\displaystyle G_{i}(f)=f-f\ominus b}
,
and an external gradient is given by:
G
e
(
f
)
=
f
⊕
b
−
f
{\displaystyle G_{e}(f)=f\oplus b-f}
.
The internal and external gradients are "thinner" than the gradient, but the gradient peaks are located on the edges, whereas the internal and external ones are located at each side of the edges. Notice that
G
i
+
G
e
=
G
{\displaystyle G_{i}+G_{e}=G}
.
This brief starts where responsible research should: with the source description of “Morphological gradient” as difference between the dilation and the erosion of a given image. Everything that follows is an evidence route, not borrowed authority.
Why this record matters
The subject matters to the general reference register because the source frames it as difference between the dilation and the erosion of a given image. Its deeper value depends on whether names, dates, institutions and citations support that framing.
Vocabulary and entity names are the principal evidence signals here, because they determine the precision of every later search. The source revision retrieved here is dated Jun 16, 2025. The linked authority identifier is Q6913458. None of the 0 selected statements returned an explicit reference.
Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Morphological gradient”, its source revision and the description used here.
- Expand the search: follow Morphological gradient primary sources, Morphological gradient archive and Morphological research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Morphological gradient”?
- Which cited source is closest to the event, object or claim?
- What terminology or title could unlock a more precise catalogue search?
Search terms from this dossier
This entry incorporates text from “Morphological gradient” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.