diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-22 10:45:45 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-22 10:45:45 +0200 |
commit | ab561b240be6c6597736e79a5082a05e2707c593 (patch) | |
tree | b8a75361deb4580d869f624e510c5079783bda0e /examples | |
parent | 3f9d14d2f91eefb748a353df7907a8e20a3168c4 (diff) |
working gromov barycenter example
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/plot_gromov_barycenter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/plot_gromov_barycenter.py b/examples/plot_gromov_barycenter.py index 101c6c5..753bdc8 100755 --- a/examples/plot_gromov_barycenter.py +++ b/examples/plot_gromov_barycenter.py @@ -89,10 +89,10 @@ def im2mat(I): return I.reshape((I.shape[0] * I.shape[1], I.shape[2]))
-square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2] / 256
-cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2] / 256
-triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2] / 256
-star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2] / 256
+square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2]
+cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2]
+triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2]
+star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2]
shapes = [square, cross, triangle, star]
|