mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 03:51:12 +08:00
Refer to rank filters from morphology functions
This commit is contained in:
@@ -35,6 +35,11 @@ def erosion(image, selem=None, out=None, shift_x=False, shift_y=False):
|
||||
eroded : uint8 array
|
||||
The result of the morphological erosion.
|
||||
|
||||
Notes
|
||||
-----
|
||||
The lower algorithm complexity makes the `skimage.filter.rank.minimum`
|
||||
more efficient for larger images and structuring elements.
|
||||
|
||||
Examples
|
||||
--------
|
||||
>>> # Erosion shrinks bright regions
|
||||
@@ -90,6 +95,11 @@ def dilation(image, selem=None, out=None, shift_x=False, shift_y=False):
|
||||
dilated : uint8 array
|
||||
The result of the morphological dilation.
|
||||
|
||||
Notes
|
||||
-----
|
||||
The lower algorithm complexity makes the `skimage.filter.rank.maximum`
|
||||
more efficient for larger images and structuring elements.
|
||||
|
||||
Examples
|
||||
--------
|
||||
>>> # Dilation enlarges bright regions
|
||||
|
||||
Reference in New Issue
Block a user