Bigger example

This commit is contained in:
Andreas Mueller
2012-08-03 11:37:10 +01:00
parent be4b44bc63
commit cb3dba7847
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ from IPython.core.debugger import Tracer
tracer = Tracer()
img = img_as_float(lena())[::2, ::2, :].copy("C")
segments = quickshift(img)
img = img_as_float(lena())
segments = quickshift(img, sigma=5, tau=20)
segments = np.unique(segments, return_inverse=True)[1].reshape(img.shape[:2])
plt.subplot(131, title="original")