summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_otda_mapping_colors_images.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
commit062071b20d1d40c64bb619931bd11bd28e780485 (patch)
tree74bfcd48bb65304c2a5be74c24cdff29bd82ba4b /docs/source/auto_examples/plot_otda_mapping_colors_images.py
parent212f3889b1114026765cda0134e02766daa82af2 (diff)
update example with rst titles
Diffstat (limited to 'docs/source/auto_examples/plot_otda_mapping_colors_images.py')
-rw-r--r--docs/source/auto_examples/plot_otda_mapping_colors_images.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/source/auto_examples/plot_otda_mapping_colors_images.py b/docs/source/auto_examples/plot_otda_mapping_colors_images.py
index 936206c..162c24b 100644
--- a/docs/source/auto_examples/plot_otda_mapping_colors_images.py
+++ b/docs/source/auto_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 image 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))