mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 07:05:05 +08:00
Merge pull request #1243 from emmanuelle/filters_rank
Added an import of `median` from the `filters` module
This commit is contained in:
@@ -11,6 +11,7 @@ from ._gabor import gabor_kernel, gabor_filter
|
||||
from .thresholding import (threshold_adaptive, threshold_otsu, threshold_yen,
|
||||
threshold_isodata)
|
||||
from . import rank
|
||||
from .rank import median
|
||||
|
||||
from skimage._shared.utils import deprecated
|
||||
from skimage import restoration
|
||||
@@ -33,6 +34,7 @@ __all__ = ['inverse',
|
||||
'wiener',
|
||||
'LPIFilter2D',
|
||||
'gaussian_filter',
|
||||
'median',
|
||||
'canny',
|
||||
'sobel',
|
||||
'hsobel',
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
def test_median_in_filters():
|
||||
from skimage.filters import median
|
||||
Reference in New Issue
Block a user