Skip to content

Commit 77d78a4

Browse files
committed
Add docs and README entries for derived morphological operators (#1025)
1 parent 846c607 commit 77d78a4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ In the GIS world, rasters are used for representing continuous phenomena (e.g. e
181181
| [Dilate](xrspatial/morphology.py) | Morphological dilation (local maximum over structuring element) | Standard (morphology) | ✅️ | ✅️ | ✅️ | ✅️ |
182182
| [Opening](xrspatial/morphology.py) | Erosion then dilation (removes small bright features) | Standard (morphology) | ✅️ | ✅️ | ✅️ | ✅️ |
183183
| [Closing](xrspatial/morphology.py) | Dilation then erosion (fills small dark gaps) | Standard (morphology) | ✅️ | ✅️ | ✅️ | ✅️ |
184+
| [Gradient](xrspatial/morphology.py) | Dilation minus erosion (edge detection) | Standard (morphology) | ✅️ | ✅️ | ✅️ | ✅️ |
185+
| [White Top-hat](xrspatial/morphology.py) | Original minus opening (isolate bright features) | Standard (morphology) | ✅️ | ✅️ | ✅️ | ✅️ |
186+
| [Black Top-hat](xrspatial/morphology.py) | Closing minus original (isolate dark features) | Standard (morphology) | ✅️ | ✅️ | ✅️ | ✅️ |
184187

185188
-------
186189

docs/source/reference/morphology.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@ Closing
3232

3333
xrspatial.morphology.morph_closing
3434

35+
Gradient
36+
========
37+
.. autosummary::
38+
:toctree: _autosummary
39+
40+
xrspatial.morphology.morph_gradient
41+
42+
White top-hat
43+
=============
44+
.. autosummary::
45+
:toctree: _autosummary
46+
47+
xrspatial.morphology.morph_white_tophat
48+
49+
Black top-hat
50+
=============
51+
.. autosummary::
52+
:toctree: _autosummary
53+
54+
xrspatial.morphology.morph_black_tophat
55+
3556
Kernel Construction
3657
===================
3758
.. autosummary::

0 commit comments

Comments
 (0)