Remove thresholding example from user guide in favor of docstring example.

This commit is contained in:
Tony S Yu
2011-12-09 10:16:23 -05:00
parent 6872e9cdf3
commit 6a6e273d06
2 changed files with 6 additions and 23 deletions
-23
View File
@@ -1,23 +0,0 @@
"""
============
Thresholding
============
Thresholding is used to create a binary image. This example uses Otsu's method to calculate the threshold value.
"""
import matplotlib.pyplot as plt
from skimage.data import camera
from skimage.thresholding import threshold_otsu
image = camera()
thresh = threshold_otsu(camera())
binary = image > thresh
plt.imshow(binary)
plt.axis('off')
plt.show()