mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-10 12:35:06 +08:00
Adding Alias and Deprecation Warning
* Added alias and deprecation warning for ```skimage.filters.gabor_filter```. * Added alias and deprecation warning for ```skimage.filters.gaussian_filter```. * Updated ```TODO.txt```
This commit is contained in:
@@ -6,6 +6,8 @@ Version 0.14
|
||||
------------
|
||||
* Remove deprecated ``ntiles_*` kwargs in ``equalize_adapthist``.
|
||||
* Remove deprecated ``skimage.restoration.nl_means_denoising``.
|
||||
* Remove deprecated ``skimage.filters.gaussian_filter``.
|
||||
* Remove deprecated ``skimage.filters.gabor_filter``.
|
||||
|
||||
|
||||
Version 0.13
|
||||
|
||||
@@ -13,7 +13,7 @@ from .thresholding import (threshold_adaptive, threshold_otsu, threshold_yen,
|
||||
from . import rank
|
||||
from .rank import median
|
||||
|
||||
from .._shared.utils import deprecated
|
||||
from .._shared.utils import deprecated, copy_func
|
||||
from .. import restoration
|
||||
denoise_bilateral = deprecated('skimage.restoration.denoise_bilateral')\
|
||||
(restoration.denoise_bilateral)
|
||||
@@ -21,6 +21,10 @@ denoise_tv_bregman = deprecated('skimage.restoration.denoise_tv_bregman')\
|
||||
(restoration.denoise_tv_bregman)
|
||||
denoise_tv_chambolle = deprecated('skimage.restoration.denoise_tv_chambolle')\
|
||||
(restoration.denoise_tv_chambolle)
|
||||
gaussian_filter = copy_func(gaussian, name='gaussian_filter')
|
||||
gaussian_filter = deprecated('skimage.filters.gaussian')(gaussian_filter)
|
||||
gabor_filter = copy_func(gabor, name='gabor_filter')
|
||||
gabor_filter = deprecated('skimage.filters.gabor')(gabor_filter)
|
||||
|
||||
# Backward compatibility v<0.11
|
||||
@deprecated('skimage.feature.canny')
|
||||
|
||||
Reference in New Issue
Block a user