Canny is now deprecated and will be in api_changes in v0.13

This commit is contained in:
Julien Coste
2014-08-31 12:27:02 +01:00
parent 936211bbcb
commit f86b6212bc
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -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
------------
-4
View File
@@ -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
+4 -3
View File
@@ -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',