Index: ChangeLog
from Christophe Berger <christophe(a)lrde.epita.fr>
* olena/oln/core/gen/regular_window.hh: Make it compile.
* olena/oln/appli/astro/tree_coherence_check.hh: Fix type in comments.
* olena/oln/appli/astro/tree_statistics.hh: Fix typo in comments.
* olena/oln/appli/astro/graphical_interface/interface.pro: Add a dependency.
appli/astro/graphical_interface/interface.pro | 2 +-
appli/astro/tree_coherence_check.hh | 2 +-
appli/astro/tree_statistics.hh | 3 ++-
core/gen/regular_window.hh | 8 ++++----
4 files changed, 8 insertions(+), 7 deletions(-)
Index: olena/oln/appli/astro/tree_coherence_check.hh
--- olena/oln/appli/astro/tree_coherence_check.hh (revision 241)
+++ olena/oln/appli/astro/tree_coherence_check.hh (working copy)
@@ -146,7 +146,7 @@
** search for parent (par) of p
** ensure (p) is contained in children of (par)
** else
- ** // nothing, root parent of hitself
+ ** // nothing, root parent of itself
**
** \endcode
**
Index: olena/oln/appli/astro/graphical_interface/interface.pro
--- olena/oln/appli/astro/graphical_interface/interface.pro (revision 241)
+++ olena/oln/appli/astro/graphical_interface/interface.pro (working copy)
@@ -7,7 +7,7 @@
SOURCES += main.cc
-HEADERS += filterinterface.hh image_viewer.hh qtincludes.hh utils.hh ../../../canvas/tree.hh ../../../canvas/maxtree.hh
+HEADERS += filterinterface.hh image_viewer.hh qtincludes.hh utils.hh ../../../canvas/tree.hh ../../../canvas/maxtree.hh ../clean.hh
FORMS = visualization_window.ui
Index: olena/oln/appli/astro/tree_statistics.hh
--- olena/oln/appli/astro/tree_statistics.hh (revision 241)
+++ olena/oln/appli/astro/tree_statistics.hh (working copy)
@@ -131,7 +131,8 @@
**
** count <- 0
** for all points of input
- ** if p is global root or if p has a different value than his parent's value in input image
+ ** if p is global root or if p has a different value
+ ** than his parent's value in input image
** then increment count (p is a local root)
** at the end, return the count
**
Index: olena/oln/core/gen/regular_window.hh
--- olena/oln/core/gen/regular_window.hh (revision 241)
+++ olena/oln/core/gen/regular_window.hh (working copy)
@@ -137,7 +137,7 @@
{
E out;
- for (unsigned i = 0; i < card(); ++i)
+ for (unsigned i = 0; i < this->dp_.card(); ++i)
{
const dpoint_type& dp = dp_[i];
@@ -159,7 +159,7 @@
E out;
- for (unsigned i = 0; i < card(); ++i)
+ for (unsigned i = 0; i < this->dp_.card(); ++i)
{
const dpoint_type& dp = dp_[i];
@@ -186,7 +186,7 @@
{
E out;
- for (unsigned i = 0; i < card(); ++i)
+ for (unsigned i = 0; i < this->dp_.card(); ++i)
{
const dpoint_type& dp = dp_[i];
@@ -207,7 +207,7 @@
{
E out;
- for (unsigned i = 0; i < card(); ++i)
+ for (unsigned i = 0; i < this->dp_.card(); ++i)
{
const dpoint_type& dp = get_dp()[i];
2005-07-07 Thierry GERAUD <theo(a)tegucigalpa.lrde.epita.fr>
'set' and 'get' are now only for images; 'at' is for data
storage.
* oln/core/abstract/image_rawness.hh (at): Rename default impl
as...
(impl_at): ...this.
* oln/core/abstract/data_storage.hh (set,get): Remove methods
cause they were obsolete since 'at' has been introduced.
(OLNTRACE): Remove tracing since it is performed in image
classes.
* oln/core/abstract/image_with_data.hh (set,get): Replace by
'at'.
(impl_set): Move to a better place.
(impl_at): Add precondition.
* oln/core/apply.hh (record.hh): Add include.
* oln/core/1d/array1d.hh (impl_set,impl_set): Replace by...
(impl_at): ...this.
(impl_set_data): Remove cause useless.
* oln/core/2d/array2d.hh (impl_set,impl_set): Remove.
* oln/core/3d/array3d.hh (impl_set,impl_set): Remove.
(impl_set_data): Remove cause useless.
Factor data storage instanciations.
* oln/core/traits.hh: New file.
* oln/core/2d/image2d.hh: Remove dead code.
(value_storage_type): Rely on storage type traits.
Preparing a better overloading for classic operators.
* oln/utils/overload.hh: New file.
* oln/core/pw/macros.hh: Add explicit versions of macros where
operators are procedures.
* oln/core/pw/value.hh (value): Qualify explicitly inheritance
to prevent name conflicts.
* oln/core/pw/cmp.hh: Add room for explicit instanciation of
procedures.
Bug fixes.
* tests/morpho/tests/geodesic_erosion (exact): Remove.
* tests/morpho/tests/geodesic_dilation (exact): Remove.
* oln/core/box.hh (inc_ncalls): Qualify method names in strings.
* oln/core/1d/image1d.hh (operator=): New method.
* oln/core/3d/image3d.hh (operator=): New method.
* oln/utils/clone.hh: Fix end of namespace comment.
* oln/morpho/geodesic_erosion.hh (n): Fix default value
definition.
(work): Fix first assignment in bodies.
* oln/morpho/geodesic_dilation.hh: Likewise.