File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1818# License: MIT License
1919
2020import numpy as np
21- from scipy import ndimage
2221import matplotlib .pylab as pl
2322import ot
2423
@@ -45,8 +44,8 @@ def minmax(I):
4544# -------------
4645
4746# Loading images
48- I1 = ndimage .imread ('../data/ocean_day.jpg' ).astype (np .float64 ) / 256
49- I2 = ndimage .imread ('../data/ocean_sunset.jpg' ).astype (np .float64 ) / 256
47+ I1 = pl .imread ('../data/ocean_day.jpg' ).astype (np .float64 ) / 256
48+ I2 = pl .imread ('../data/ocean_sunset.jpg' ).astype (np .float64 ) / 256
5049
5150X1 = im2mat (I1 )
5251X2 = im2mat (I2 )
Original file line number Diff line number Diff line change 2222# License: MIT License
2323
2424import numpy as np
25- from scipy import ndimage
2625import matplotlib .pylab as pl
2726import ot
2827
@@ -48,8 +47,8 @@ def minmax(I):
4847# -------------
4948
5049# Loading images
51- I1 = ndimage .imread ('../data/ocean_day.jpg' ).astype (np .float64 ) / 256
52- I2 = ndimage .imread ('../data/ocean_sunset.jpg' ).astype (np .float64 ) / 256
50+ I1 = pl .imread ('../data/ocean_day.jpg' ).astype (np .float64 ) / 256
51+ I2 = pl .imread ('../data/ocean_sunset.jpg' ).astype (np .float64 ) / 256
5352
5453
5554X1 = im2mat (I1 )
You can’t perform that action at this time.
0 commit comments