* python/max-tree.py: Here.
---
swilena/ChangeLog | 6 ++++++
swilena/python/max-tree.py | 14 ++++++++++++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/swilena/ChangeLog b/swilena/ChangeLog
index 868a17e..38e7be9 100644
--- a/swilena/ChangeLog
+++ b/swilena/ChangeLog
@@ -1,5 +1,11 @@
2012-08-28 Roland Levillain <roland(a)lrde.epita.fr>
+ Comment on an issue of Swilena highlighted by max-tree.py.
+
+ * python/max-tree.py: Here.
+
+2012-08-28 Roland Levillain <roland(a)lrde.epita.fr>
+
Update the local (build-time) Swilena Python Shell.
* python/sps-local.in (PYTHONPATH): Add `@abs_builddir@/.libs'.
diff --git a/swilena/python/max-tree.py b/swilena/python/max-tree.py
index 05dd32a..236c75d 100644
--- a/swilena/python/max-tree.py
+++ b/swilena/python/max-tree.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
-# Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
+# Copyright (C) 2010, 2012 EPITA Research and Development Laboratory (LRDE)
#
# This file is part of Olena.
#
@@ -37,8 +37,18 @@ for p, v in itertools.izip(ima.domain(), values):
ima.set(p, int_u8(v))
image.println("ima =", ima)
+# FIXME: The type of the (Python) object returned by this call,
+# <type 'SwigPyObject'>, is wrong. The right type should be
+# <class 'image2d_point2d.image2d_point2d'>, but the fact that the
+# routine and the result object are located in two different
+# (generated) Swilena submodules seems to confuse SWIG. A consequence
+# of this issue is that `max_tree_parent' is not usable at all, hence
+# the failure of the last line of this test. We should perhaps review
+# Swilena's design and minimize or even completely get rid of the
+# modular approach...
max_tree_parent = image.max_tree(ima, c4());
-# FIXME: Why can't we use
+
+# FIXME: Overloading issue: Why can't we use
#
# image2d_point2d.println("max_tree_parent =", max_tree_parent)
#
--
1.7.2.5
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch swilena has been updated
via e75f830f215145068b6753ed0f809e9975c12431 (commit)
via 7c4b3700685e917721d64487afaf1437345e98a3 (commit)
via 074a32caf66072e3bc7941f32c81a6a7448b8832 (commit)
via e44582470d67b77f69663246eb94f2095414ff40 (commit)
via 43b5af6791708f0ef192f35b25e2561139a3b2a0 (commit)
via 7a95539131edbe6012cd1a2862ef88f8e67c2f66 (commit)
from 601ff8ea39d440417c772e78b814fd2572ff918a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
e75f830 Aesthetic changes in Swilena.
7c4b370 Add sps-gdb-local, a script to run the Swilena Python Shell in GDB.
074a32c Fix build dependencies in Swilena.
e445824 Comment on an issue of Swilena highlighted by max-tree.py.
43b5af6 Update the local (build-time) Swilena Python Shell.
7a95539 Get rid of `ltihooks' in Swilena.
-----------------------------------------------------------------------
Summary of changes:
swilena/ChangeLog | 51 +++++++++++++++++++++++++++++++++
swilena/box.ixx | 2 +-
swilena/box2d.i | 4 +-
swilena/image2d.ixx | 5 ++-
swilena/image2d_point2d.i | 2 +-
swilena/morpho.ixx | 5 ++-
swilena/python/Makefile.am | 19 ++++++------
swilena/python/ltihooks.py | 60 ---------------------------------------
swilena/python/max-tree.py | 14 ++++++++-
swilena/python/sps-gdb-local.in | 6 ++++
swilena/python/sps-local.in | 2 +-
swilena/python/swilena.py | 4 +--
swilena/run.in | 46 +++++++++++++++--------------
13 files changed, 116 insertions(+), 104 deletions(-)
delete mode 100644 swilena/python/ltihooks.py
create mode 100644 swilena/python/sps-gdb-local.in
hooks/post-receive
--
Olena, a generic and efficient image processing platform
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch next has been updated
via b654f0d48265b56eda78f0df27cb1a414f7f7e5a (commit)
via e33727052ccf1d6c683cd2492d060ded7fccd7f4 (commit)
via d590e49dcb0541a2f964fbbc10032fa3ffcc260b (commit)
via 4649bd3bb8ff982893c774075f03d937fe3d995b (commit)
via 7cbb3cb04ebbf5b76672a8733629fce9a8cb591b (commit)
via 5a934f2c1678ae9bce79836ef2a11f6005e69b7b (commit)
via e32d709852606cfc30d2bb673b1fa6042e2b0185 (commit)
via 14bf21225e9519b342dbc7eea62ce761f1523d4e (commit)
via 75d065e29b6a317d9d4c78ba8d35a214639bb02c (commit)
from 39e1152eceddabf1c61e368c2f7bd477dbc2c46e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
b654f0d Merge branch 'apps-ismm-2009' into next
e337270 milena/ChangeLog: Wrap long lines.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 85 +-
milena/apps/papers/levillain.09.ismm/Makefile.am | 28 +-
.../papers/levillain.09.ismm/classif-1complex.cc | 307 +
.../apps/papers/levillain.09.ismm/classif-graph.cc | 287 +
.../apps/papers/levillain.09.ismm/classseedsi.pbm | 6415 ++++++++++++++++++++
milena/apps/papers/levillain.09.ismm/graph.cc | 259 +-
.../papers/levillain.09.ismm/influence_zones.hh} | 90 +-
milena/apps/papers/levillain.09.ismm/io.hh | 242 +
8 files changed, 7411 insertions(+), 302 deletions(-)
create mode 100644 milena/apps/papers/levillain.09.ismm/classif-1complex.cc
create mode 100644 milena/apps/papers/levillain.09.ismm/classif-graph.cc
create mode 100644 milena/apps/papers/levillain.09.ismm/classseedsi.pbm
copy milena/{mln/literal/one.hh => apps/papers/levillain.09.ismm/influence_zones.hh} (55%)
create mode 100644 milena/apps/papers/levillain.09.ismm/io.hh
hooks/post-receive
--
Olena, a generic and efficient image processing platform
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch papers/lazzara.12.ijdar has been updated
via f7985a1b13b6492cf8bbbb80ac88fdb3da625005 (commit)
via ea5d166701036d0d1e122207eba99e12a0d4bd19 (commit)
from 9a4c370d70d77e55335f0edd439ba05ed1b48cc2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
f7985a1 scribo/binarization/sauvola_ms.hh: Add comments.
ea5d166 Use io::magick for sauvola binaries output.
-----------------------------------------------------------------------
Summary of changes:
scribo/ChangeLog | 11 +++++++++++
scribo/scribo/binarization/sauvola_ms.hh | 15 +++++++++++++++
scribo/src/binarization/sauvola.cc | 6 +++---
scribo/src/binarization/sauvola_ms.cc | 6 +++---
4 files changed, 32 insertions(+), 6 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform