[python-dtcwt] 394/497: move image registration example to docs directory

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 405c8a2e5e644861b45e09856a65b7c9f822126d
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Mon Feb 10 16:56:49 2014 +0000

    move image registration example to docs directory
    
    Something in readthedocs was getting confused with plots generated by
    scripts not in the docs/ subdirectory. Move image-registration.py as a
    workaround.
---
 docs/examples.rst                        | 4 ++--
 {examples => docs}/image-registration.py | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/examples.rst b/docs/examples.rst
index c8c4452..9a53557 100644
--- a/docs/examples.rst
+++ b/docs/examples.rst
@@ -33,7 +33,7 @@ The source for the script is shown below:
 This library includes support for 2D image registration modelled after the 3D
 algorithm outlined in the paper `Efficient Registration of Nonrigid 3-D Bodies`_.
 The
-:download:`image-registration.py<../examples/image-registration.py>`
+:download:`image-registration.py<image-registration.py>`
 script in the examples directory shows a complete worked example of using the
 registration API using two sets of source images: a woman playing tennis and some
 traffic at a road junction.
@@ -43,5 +43,5 @@ traffic at a road junction.
 It will attempt to register two image pairs: a challenging sequence from a
 video sequence and a sequence from a traffic camera. The result is shown below.
 
-.. plot:: ../examples/image-registration.py
+.. plot:: image-registration.py
 
diff --git a/examples/image-registration.py b/docs/image-registration.py
similarity index 100%
rename from examples/image-registration.py
rename to docs/image-registration.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list