A few fixes: give credit to scikit-learn guys, fix examples...

This commit is contained in:
Emmanuelle Gouillart
2011-09-24 15:05:16 +02:00
parent cce3d7bcc5
commit 4174d5fef0
6 changed files with 54 additions and 56 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ from scipy import ndimage
import matplotlib.pyplot as plt
from scikits.image.filter import tv_denoise
l = scipy.lena()
l = scipy.misc.lena()
l = l[230:290, 220:320]
noisy = l + 0.4*l.std()*np.random.random(l.shape)
@@ -48,4 +48,4 @@ plt.title('(more) TV denoising', fontsize=20)
plt.subplots_adjust(wspace=0.02, hspace=0.02, top=0.9, bottom=0, left=0,
right=1)
plt.show()