Improve SLIC

This commit is contained in:
Johannes Schönberger
2013-09-01 16:46:00 +02:00
parent a401cb8d9d
commit fd729a4e30
3 changed files with 73 additions and 50 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def test_color_2d():
def test_gray_2d():
rnd = np.random.RandomState(0)
img = np.zeros((20, 21))
img = np.zeros((20, 20))
img[:10, :10] = 0.33
img[10:, :10] = 0.67
img[10:, 10:] = 1.00