mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 13:26:37 +08:00
Canny is now deprecated and will be in api_changes in v0.13
This commit is contained in:
@@ -3,7 +3,7 @@ Remember to list any API changes below in `doc/source/api_changes.txt`.
|
||||
Version 0.13
|
||||
------------
|
||||
* Remove deprecated `None` defaults for `skimage.exposure.rescale_intensity`
|
||||
* Remove deprecated `skimage.filter.canny` import in __init__.py that is now in `skimage.feature.canny`
|
||||
* Remove deprecated `skimage.filter.canny` import in __init__.py that is now in `skimage.feature.canny` (and complete api_changes.txt. `GitHub discuss <https://github.com/scikit-image/scikit-image/pull/1113/files#r16934196>`__ )
|
||||
|
||||
Version 0.12
|
||||
------------
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
Version 0.11
|
||||
------------
|
||||
- Move ``skimage.filter.canny`` to ``skimage.feature.canny``
|
||||
|
||||
Version 0.10
|
||||
------------
|
||||
- Removed ``skimage.io.video`` functionality due to broken gstreamer bindings
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from .lpi_filter import inverse, wiener, LPIFilter2D
|
||||
from ._gaussian import gaussian_filter
|
||||
# Backward compatibility v<0.11
|
||||
from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
|
||||
hprewitt, vprewitt, roberts, roberts_positive_diagonal,
|
||||
roberts_negative_diagonal)
|
||||
@@ -9,8 +8,6 @@ from ._gabor import gabor_kernel, gabor_filter
|
||||
from .thresholding import (threshold_adaptive, threshold_otsu, threshold_yen,
|
||||
threshold_isodata)
|
||||
from . import rank
|
||||
from ..feature import canny
|
||||
|
||||
|
||||
from skimage._shared.utils import deprecated
|
||||
from skimage import restoration
|
||||
@@ -21,6 +18,10 @@ denoise_tv_bregman = deprecated('skimage.restoration.denoise_tv_bregman')\
|
||||
denoise_tv_chambolle = deprecated('skimage.restoration.denoise_tv_chambolle')\
|
||||
(restoration.denoise_tv_chambolle)
|
||||
|
||||
# Backward compatibility v<0.11
|
||||
from ..feature import canny
|
||||
canny = deprecated('skimage.feature.canny')(canny)
|
||||
|
||||
|
||||
__all__ = ['inverse',
|
||||
'wiener',
|
||||
|
||||
Reference in New Issue
Block a user