URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2009-02-28 Frederic Bour <bour(a)lrde.epita.fr>
Adjusted tests for new opening/closing naming scheme.
* tests/morpho/closing/area.cc,
* tests/morpho/closing/height.cc,
* tests/morpho/closing/volume.cc,
* tests/morpho/opening/area.cc,
* tests/morpho/opening/height.cc,
* tests/morpho/opening/volume.cc: Now use closing and opening
namespaces.
---
closing/area.cc | 8 ++++----
closing/height.cc | 8 ++++----
closing/volume.cc | 8 ++++----
opening/area.cc | 8 ++++----
opening/height.cc | 8 ++++----
opening/volume.cc | 8 ++++----
6 files changed, 24 insertions(+), 24 deletions(-)
Index: trunk/milena/tests/morpho/closing/volume.cc
===================================================================
--- trunk/milena/tests/morpho/closing/volume.cc (revision 3438)
+++ trunk/milena/tests/morpho/closing/volume.cc (revision 3439)
@@ -26,9 +26,9 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-/// \file tests/morpho/closing_volume.cc
+/// \file tests/morpho/closing/volume.cc
///
-/// Test on mln::morpho::closing_volume.
+/// Test on mln::morpho::closing::volume.
#include <mln/core/image/image2d.hh>
#include <mln/value/int_u8.hh>
@@ -37,7 +37,7 @@
#include <mln/io/pgm/load.hh>
#include <mln/io/pgm/save.hh>
-#include <mln/morpho/closing_volume.hh>
+#include <mln/morpho/closing/volume.hh>
#include <mln/morpho/attribute/volume.hh>
#include "tests/data.hh"
@@ -51,7 +51,7 @@
typedef image2d<int_u8> I;
I lena;
io::pgm::load(lena, MLN_IMG_DIR "/lena.pgm");
- io::pgm::save(morpho::closing_volume(lena, c4(), 10000),
+ io::pgm::save(morpho::closing::volume(lena, c4(), 10000),
"ref.pgm");
typedef morpho::attribute::volume<I> A;
Index: trunk/milena/tests/morpho/closing/area.cc
===================================================================
--- trunk/milena/tests/morpho/closing/area.cc (revision 3438)
+++ trunk/milena/tests/morpho/closing/area.cc (revision 3439)
@@ -26,9 +26,9 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-/// \file tests/morpho/closing_area.cc
+/// \file tests/morpho/closing/area.cc
///
-/// Test on mln::morpho::closing_area.
+/// Test on mln::morpho::closing::area.
#include <mln/core/image/image2d.hh>
#include <mln/value/int_u8.hh>
@@ -37,7 +37,7 @@
#include <mln/io/pgm/load.hh>
#include <mln/io/pgm/save.hh>
-#include <mln/morpho/closing_area.hh>
+#include <mln/morpho/closing/area.hh>
#include "tests/data.hh"
@@ -50,5 +50,5 @@
image2d<int_u8> lena;
io::pgm::load(lena, MLN_IMG_DIR "/lena.pgm");
- io::pgm::save(morpho::closing_area(lena, c4(), 510), "out.pgm");
+ io::pgm::save(morpho::closing::area(lena, c4(), 510), "out.pgm");
}
Index: trunk/milena/tests/morpho/closing/height.cc
===================================================================
--- trunk/milena/tests/morpho/closing/height.cc (revision 3438)
+++ trunk/milena/tests/morpho/closing/height.cc (revision 3439)
@@ -26,9 +26,9 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-/// \file tests/morpho/closing_height.cc
+/// \file tests/morpho/closing/height.cc
///
-/// Test on mln::morpho::closing_height.
+/// Test on mln::morpho::closing::height.
#include <mln/core/image/image2d.hh>
#include <mln/value/int_u8.hh>
@@ -37,7 +37,7 @@
#include <mln/io/pgm/load.hh>
#include <mln/io/pgm/save.hh>
-#include <mln/morpho/closing_height.hh>
+#include <mln/morpho/closing/height.hh>
#include "tests/data.hh"
@@ -48,5 +48,5 @@
image2d<int_u8> lena;
io::pgm::load(lena, MLN_IMG_DIR "/lena.pgm");
- io::pgm::save(morpho::closing_height(lena, c4(), 20), "out.pgm");
+ io::pgm::save(morpho::closing::height(lena, c4(), 20), "out.pgm");
}
Index: trunk/milena/tests/morpho/opening/volume.cc
===================================================================
--- trunk/milena/tests/morpho/opening/volume.cc (revision 3438)
+++ trunk/milena/tests/morpho/opening/volume.cc (revision 3439)
@@ -25,9 +25,9 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-/// \file tests/morpho/opening_volume.cc
+/// \file tests/morpho/opening/volume.cc
///
-/// Test on mln::morpho::opening_volume.
+/// Test on mln::morpho::opening::volume.
#include <mln/core/image/image2d.hh>
#include <mln/value/int_u8.hh>
@@ -36,7 +36,7 @@
#include <mln/io/pgm/load.hh>
#include <mln/io/pgm/save.hh>
-#include <mln/morpho/opening_volume.hh>
+#include <mln/morpho/opening/volume.hh>
#include "tests/data.hh"
@@ -49,6 +49,6 @@
io::pgm::load(lena, MLN_IMG_DIR "/lena.pgm");
image2d<int_u8> out(lena.domain());
- out = morpho::opening_volume(lena, c4(), 10000);
+ out = morpho::opening::volume(lena, c4(), 10000);
io::pgm::save(out, "out.pgm");
}
Index: trunk/milena/tests/morpho/opening/area.cc
===================================================================
--- trunk/milena/tests/morpho/opening/area.cc (revision 3438)
+++ trunk/milena/tests/morpho/opening/area.cc (revision 3439)
@@ -25,9 +25,9 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-/// \file tests/morpho/opening_area.cc
+/// \file tests/morpho/opening/area.cc
///
-/// Test on mln::morpho::opening_area.
+/// Test on mln::morpho::opening::area.
#include <mln/core/image/image2d.hh>
#include <mln/value/int_u8.hh>
@@ -36,7 +36,7 @@
#include <mln/io/pgm/load.hh>
#include <mln/io/pgm/save.hh>
-#include <mln/morpho/opening_area.hh>
+#include <mln/morpho/opening/area.hh>
#include "tests/data.hh"
@@ -51,6 +51,6 @@
io::pgm::load(lena, MLN_IMG_DIR "/lena.pgm");
image2d<int_u8> out(lena.domain());
- out = morpho::opening_area(lena, c4(), 510);
+ out = morpho::opening::area(lena, c4(), 510);
io::pgm::save(out, "out.pgm");
}
Index: trunk/milena/tests/morpho/opening/height.cc
===================================================================
--- trunk/milena/tests/morpho/opening/height.cc (revision 3438)
+++ trunk/milena/tests/morpho/opening/height.cc (revision 3439)
@@ -25,9 +25,9 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-/// \file tests/morpho/opening_height.cc
+/// \file tests/morpho/opening/height.cc
///
-/// Test on mln::morpho::opening_height.
+/// Test on mln::morpho::opening::height.
#include <mln/core/image/image2d.hh>
#include <mln/value/int_u8.hh>
@@ -36,7 +36,7 @@
#include <mln/io/pgm/load.hh>
#include <mln/io/pgm/save.hh>
-#include <mln/morpho/opening_height.hh>
+#include <mln/morpho/opening/height.hh>
#include "tests/data.hh"
@@ -49,6 +49,6 @@
io::pgm::load(lena, MLN_IMG_DIR "/lena.pgm");
image2d<int_u8> out(lena.domain());
- out = morpho::opening_height(lena, c4(), 20);
+ out = morpho::opening::height(lena, c4(), 20);
io::pgm::save(out, "out.pgm");
}