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 exp/TL has been updated
via 8b003049116ad7ea9e544118feb81b82b576b029 (commit)
via 493bf1043c722889528e9c85147681f7cd86e9ad (commit)
via 1935bc36690804e3ee07a7c2344538c9d80287c8 (commit)
via 51571df5ecf647d4f8d258bba3714ac78d9cf19d (commit)
via 806244e44b676343c967c44ca3563492e0d817ad (commit)
from cc0d9305c735008f7c3bde3ffcc170931452f0d6 (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 -----------------------------------------------------------------
8b00304 Merge branch 'exp/fill_without_localization' into exp/TL
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 9 +
...ocalization.hh => fill_without_localization.hh} | 173 ++++++++++----------
milena/tests/data/Makefile.am | 3 +-
...ocalization.cc => fill_without_localization.cc} | 14 +-
scribo/ChangeLog | 14 ++
scribo/scribo/binarization/sauvola_ms_split.hh | 4 +
.../toolchain/internal/text_in_picture_functor.hh | 22 ++--
scribo/src/text_in_picture.cc | 22 ++-
8 files changed, 146 insertions(+), 115 deletions(-)
copy milena/mln/data/{paste_without_localization.hh => fill_without_localization.hh} (54%)
copy milena/tests/data/{paste_without_localization.cc => fill_without_localization.cc} (81%)
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 exp/fill_without_localization has been created
at 493bf1043c722889528e9c85147681f7cd86e9ad (commit)
- Log -----------------------------------------------------------------
493bf10 Add data::fill_without_localization.
-----------------------------------------------------------------------
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 exp/newdoc has been updated
via be2c37d176bae11f4bbaaaa8b83b9abab7fc4c6e (commit)
via 2072dc281d75e057b0673649f6d2ecde34552256 (commit)
via e9a8db214da0520749aab56910d856cb817c7b2d (commit)
from 2c6bbd3c7ac77360750bab1e62de967793474043 (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 -----------------------------------------------------------------
be2c37d mln/core/concept/image.hh: Document Image concept.
2072dc2 mln/fun/p2b/has.hh: Fix invalid super type.
e9a8db2 doc/mln/value/value/dox: Specify that built-in types can be used.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 13 ++++++++
milena/doc/mln/value/value.dox | 22 +++++++++++--
milena/mln/core/concept/image.hh | 63 ++++++++++++++++++++++++++-----------
milena/mln/fun/p2b/has.hh | 2 +-
4 files changed, 76 insertions(+), 24 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
---
milena/ChangeLog | 4 ++
milena/mln/core/concept/image.hh | 63 ++++++++++++++++++++++++++-----------
2 files changed, 48 insertions(+), 19 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index d975112..6a1d0ed 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2013-04-30 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * mln/core/concept/image.hh: Document Image concept.
+
+2013-04-30 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* doc/mln/value/value/dox: Specify that built-in types can be
used.
diff --git a/milena/mln/core/concept/image.hh b/milena/mln/core/concept/image.hh
index f302425..3a10dea 100644
--- a/milena/mln/core/concept/image.hh
+++ b/milena/mln/core/concept/image.hh
@@ -69,20 +69,31 @@ namespace mln
/*!
+ \headerfile <>
\brief Base class for implementation of image classes.
- \ingroup modconcepts
- */
- template <typename E>
- struct Image : public Object<E>
- {
- typedef Image<void> category;
-
- template <typename J>
- Image<E>& operator=(const J& rhs);
-
- /*
- // provided by internal::image_base:
+ In Milena, every image is considered as a composition of both:
+ \li A function \f$F\f$
+ \f$
+ ima : \left\{
+ \begin{array}{lll}
+ Site &\rightarrow & Value \\
+ p & \mapsto & ima(p)
+ \end{array}
+ \right.
+ \f$
+ \li A domain of definition \f$D\f$.
+
+ A domain \f$D\f$ is represented as a mln::Site_Set which provides
+ the set of sites (localization information) on which the image is
+ defined.
+ The function \f$F\f$ returns a value for a given site.
+
+ mln::Image is a concept class. It is not meant to be instantiated
+ directly. All image classes in Milena inherit from it and
+ provide the following methods and typedefs:
+
+ \code
typedef domain_t;
typedef site;
typedef psite;
@@ -92,7 +103,6 @@ namespace mln
typedef bkd_piter;
bool has(const psite& p) const;
- unsigned nsites() const; // If relevant.
bool is_valid() const;
@@ -104,11 +114,6 @@ namespace mln
typedef value;
- // to be provided in concrete image classes:
-
- typedef vset;
- const vset& values() const;
-
typedef rvalue;
typedef lvalue;
rvalue operator()(const psite& p) const;
@@ -117,7 +122,27 @@ namespace mln
const domain_t& domain() const;
typedef skeleton;
- */
+ \endcode
+
+ More explanations and documentation of each typedefs/methods are
+ provided in the inherited classes. A list of images is available
+ in module \ref modimage. Image types are divided into two main
+ categories: \ref modimageconcrete and \ref modimagemorpher.
+
+ A list of features provided in image classes is detailed in module
+ \ref modimage.
+
+ \ingroup modconcepts
+ */
+ template <typename E>
+ struct Image : public Object<E>
+ {
+ typedef Image<void> category;
+
+ template <typename J>
+ Image<E>& operator=(const J& rhs);
+
+ // Required interface is provided by internal::image_base:
protected:
Image();
--
1.7.2.5
---
milena/ChangeLog | 4 ++
milena/mln/core/concept/image.hh | 63 ++++++++++++++++++++++++++-----------
2 files changed, 48 insertions(+), 19 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 231ee28..29c9d5e 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2013-04-30 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * mln/core/concept/image.hh: Document Image concept.
+
+2013-04-30 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* mln/fun/p2b/has.hh: Fix invalid super type.
2013-04-30 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/milena/mln/core/concept/image.hh b/milena/mln/core/concept/image.hh
index f302425..3a10dea 100644
--- a/milena/mln/core/concept/image.hh
+++ b/milena/mln/core/concept/image.hh
@@ -69,20 +69,31 @@ namespace mln
/*!
+ \headerfile <>
\brief Base class for implementation of image classes.
- \ingroup modconcepts
- */
- template <typename E>
- struct Image : public Object<E>
- {
- typedef Image<void> category;
-
- template <typename J>
- Image<E>& operator=(const J& rhs);
-
- /*
- // provided by internal::image_base:
+ In Milena, every image is considered as a composition of both:
+ \li A function \f$F\f$
+ \f$
+ ima : \left\{
+ \begin{array}{lll}
+ Site &\rightarrow & Value \\
+ p & \mapsto & ima(p)
+ \end{array}
+ \right.
+ \f$
+ \li A domain of definition \f$D\f$.
+
+ A domain \f$D\f$ is represented as a mln::Site_Set which provides
+ the set of sites (localization information) on which the image is
+ defined.
+ The function \f$F\f$ returns a value for a given site.
+
+ mln::Image is a concept class. It is not meant to be instantiated
+ directly. All image classes in Milena inherit from it and
+ provide the following methods and typedefs:
+
+ \code
typedef domain_t;
typedef site;
typedef psite;
@@ -92,7 +103,6 @@ namespace mln
typedef bkd_piter;
bool has(const psite& p) const;
- unsigned nsites() const; // If relevant.
bool is_valid() const;
@@ -104,11 +114,6 @@ namespace mln
typedef value;
- // to be provided in concrete image classes:
-
- typedef vset;
- const vset& values() const;
-
typedef rvalue;
typedef lvalue;
rvalue operator()(const psite& p) const;
@@ -117,7 +122,27 @@ namespace mln
const domain_t& domain() const;
typedef skeleton;
- */
+ \endcode
+
+ More explanations and documentation of each typedefs/methods are
+ provided in the inherited classes. A list of images is available
+ in module \ref modimage. Image types are divided into two main
+ categories: \ref modimageconcrete and \ref modimagemorpher.
+
+ A list of features provided in image classes is detailed in module
+ \ref modimage.
+
+ \ingroup modconcepts
+ */
+ template <typename E>
+ struct Image : public Object<E>
+ {
+ typedef Image<void> category;
+
+ template <typename J>
+ Image<E>& operator=(const J& rhs);
+
+ // Required interface is provided by internal::image_base:
protected:
Image();
--
1.7.2.5