Fix return value of deprecated equalize function.

This commit is contained in:
Tony S Yu
2013-02-26 20:34:29 -06:00
parent 590784d9a3
commit dd08c8cd83
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ img = data.moon()
# Contrast stretching
p2 = np.percentile(img, 2)
p98 = np.percentile(img, 98)
img_rescale = exposure.equalize(img)
img_rescale = exposure.equalize_hist(img)
# Equalization
selem = disk(30)