diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-08-31 09:28:37 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-08-31 09:28:37 +0200 |
commit | 212f3889b1114026765cda0134e02766daa82af2 (patch) | |
tree | f9ea2d2566d1544b3409152f8ebbc8ca706c96e2 /examples/plot_otda_mapping_colors_images.py | |
parent | ec67362de5ec785e3871eac75a8aa477857092c4 (diff) |
update tests
Diffstat (limited to 'examples/plot_otda_mapping_colors_images.py')
-rw-r--r-- | examples/plot_otda_mapping_colors_images.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/examples/plot_otda_mapping_colors_images.py b/examples/plot_otda_mapping_colors_images.py index 936206c..a8b2ca8 100644 --- a/examples/plot_otda_mapping_colors_images.py +++ b/examples/plot_otda_mapping_colors_images.py @@ -1,8 +1,11 @@ # -*- coding: utf-8 -*- """ -==================================================================================== -OT for domain adaptation with image color adaptation [6] with mapping estimation [8] -==================================================================================== +=============================================== +OT for color adaptation with mapping estimation +=============================================== + +OT for domain adaptation with image color adaptation [6] with mapping +estimation [8]. [6] Ferradans, S., Papadakis, N., Peyre, G., & Aujol, J. F. (2014). Regularized discrete optimal transport. SIAM Journal on Imaging Sciences, 7(3), @@ -93,7 +96,7 @@ Image_mapping_gaussian = minmax(mat2im(X1tn, I1.shape)) ############################################################################## -# plot original images +# Plot original images ############################################################################## pl.figure(1, figsize=(6.4, 3)) @@ -110,7 +113,7 @@ pl.tight_layout() ############################################################################## -# plot pixel values distribution +# Plot pixel values distribution ############################################################################## pl.figure(2, figsize=(6.4, 5)) @@ -132,7 +135,7 @@ pl.tight_layout() ############################################################################## -# plot transformed images +# Plot transformed images ############################################################################## pl.figure(2, figsize=(10, 5)) |