Rename and deprecate filter module to prevent shadowing of built-in keyword

This commit is contained in:
Stefan van der Walt
2014-11-10 12:53:50 +02:00
parent 80b9807185
commit 78a7b7307a
62 changed files with 171 additions and 150 deletions
@@ -117,7 +117,7 @@ The choice of the elevation map is critical for good segmentation.
Here, the amplitude of the gradient provides a good elevation map. We
use the Sobel operator for computing the amplitude of the gradient::
>>> from skimage.filter import sobel
>>> from skimage.filters import sobel
>>> elevation_map = sobel(coins)
From the 3-D surface plot shown below, we see that high barriers effectively