Merge pull request #1243 from emmanuelle/filters_rank

Added an import of `median` from the `filters` module
This commit is contained in:
Juan Nunez-Iglesias
2014-12-01 12:15:22 +11:00
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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',
+2
View File
@@ -0,0 +1,2 @@
def test_median_in_filters():
from skimage.filters import median