diff options
author | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2017-07-12 23:19:09 +0200 |
---|---|---|
committer | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2017-07-20 14:05:12 +0200 |
commit | da21b9888e77f7512727a4f50c60bd475e2c9606 (patch) | |
tree | 3291e5149101f51d73c32daa46d856321b9166dc /examples/plot_OTDA_mapping_color_images.py | |
parent | 6d7fd7e9faffa777cef222bdfc48c7ad732ab950 (diff) |
pep8
Diffstat (limited to 'examples/plot_OTDA_mapping_color_images.py')
-rw-r--r-- | examples/plot_OTDA_mapping_color_images.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/plot_OTDA_mapping_color_images.py b/examples/plot_OTDA_mapping_color_images.py index b42dcdc..85c4b6b 100644 --- a/examples/plot_OTDA_mapping_color_images.py +++ b/examples/plot_OTDA_mapping_color_images.py @@ -36,6 +36,7 @@ pl.axis('off') pl.title('Image 2') pl.tight_layout() + #%% Image conversion and dataset generation def im2mat(I): @@ -78,7 +79,9 @@ pl.ylabel('Blue') pl.title('Image 2') pl.tight_layout() + #%% domain adaptation between images + def minmax(I): return np.clip(I, 0, 1) |