summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSlasnista <stan.chambon@gmail.com>2017-08-25 15:18:05 +0200
committerNicolas Courty <Nico@MacBook-Pro-de-Nicolas.local>2017-09-01 11:09:13 +0200
commit4f802cf3de02fd3ff64fd9a8fcc5c7f1daf3cbea (patch)
treeb96085a65903c0a6009a5c4cc92f498ed746c6f7 /examples
parente1a3984b63ce429b82e71dfb685d018788737068 (diff)
set properly path of data
Diffstat (limited to 'examples')
-rw-r--r--examples/da/plot_otda_mapping_colors_images.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/da/plot_otda_mapping_colors_images.py b/examples/da/plot_otda_mapping_colors_images.py
index 05d9046..4209020 100644
--- a/examples/da/plot_otda_mapping_colors_images.py
+++ b/examples/da/plot_otda_mapping_colors_images.py
@@ -43,11 +43,8 @@ def minmax(I):
##############################################################################
# Loading images
-# I1 = ndimage.imread('../../data/ocean_day.jpg').astype(np.float64) / 256
-# I2 = ndimage.imread('../../data/ocean_sunset.jpg').astype(np.float64) / 256
-
-I1 = ndimage.imread('data/ocean_day.jpg').astype(np.float64) / 256
-I2 = ndimage.imread('data/ocean_sunset.jpg').astype(np.float64) / 256
+I1 = ndimage.imread('../../data/ocean_day.jpg').astype(np.float64) / 256
+I2 = ndimage.imread('../../data/ocean_sunset.jpg').astype(np.float64) / 256
X1 = im2mat(I1)