https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008/milena
Index: ChangeLog
from Thierry Geraud <thierry.geraud(a)lrde.epita.fr>
Fix warning in tests morpho elementary.
* tests/morpho/elementary/gradient.cc,
* tests/morpho/elementary/erosion.cc,
* tests/morpho/elementary/closing.cc,
* tests/morpho/elementary/top_hat.cc,
* tests/morpho/elementary/gradient_external.cc,
* tests/morpho/elementary/opening.cc,
* tests/morpho/elementary/dilation.cc,
* tests/morpho/elementary/gradient_internal.cc: Fix warning.
closing.cc | 2 +-
dilation.cc | 2 +-
erosion.cc | 2 +-
gradient.cc | 2 +-
gradient_external.cc | 2 +-
gradient_internal.cc | 2 +-
opening.cc | 2 +-
top_hat.cc | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
Index: tests/morpho/elementary/gradient.cc
--- tests/morpho/elementary/gradient.cc (revision 2889)
+++ tests/morpho/elementary/gradient.cc (working copy)
@@ -62,7 +62,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
mln_VAR(gra,
Index: tests/morpho/elementary/erosion.cc
--- tests/morpho/elementary/erosion.cc (revision 2889)
+++ tests/morpho/elementary/erosion.cc (working copy)
@@ -57,7 +57,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
image2d<bool> ero = morpho::elementary::erosion(msk, c4());
Index: tests/morpho/elementary/closing.cc
--- tests/morpho/elementary/closing.cc (revision 2889)
+++ tests/morpho/elementary/closing.cc (working copy)
@@ -57,7 +57,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
image2d<bool> clo = morpho::elementary::closing(msk, c4());
Index: tests/morpho/elementary/top_hat.cc
--- tests/morpho/elementary/top_hat.cc (revision 2889)
+++ tests/morpho/elementary/top_hat.cc (working copy)
@@ -56,7 +56,7 @@
debug::println( morpho::elementary::top_hat_self_complementary(ima, c4()) );
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
debug::println( morpho::elementary::top_hat_white(msk, c4()) );
Index: tests/morpho/elementary/gradient_external.cc
--- tests/morpho/elementary/gradient_external.cc (revision 2889)
+++ tests/morpho/elementary/gradient_external.cc (working copy)
@@ -62,7 +62,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
mln_VAR(gra,
Index: tests/morpho/elementary/opening.cc
--- tests/morpho/elementary/opening.cc (revision 2889)
+++ tests/morpho/elementary/opening.cc (working copy)
@@ -57,7 +57,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
image2d<bool> ope = morpho::elementary::opening(msk, c4());
Index: tests/morpho/elementary/dilation.cc
--- tests/morpho/elementary/dilation.cc (revision 2889)
+++ tests/morpho/elementary/dilation.cc (working copy)
@@ -57,7 +57,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
image2d<bool> dil = morpho::elementary::dilation(msk, c4());
Index: tests/morpho/elementary/gradient_internal.cc
--- tests/morpho/elementary/gradient_internal.cc (revision 2889)
+++ tests/morpho/elementary/gradient_internal.cc (working copy)
@@ -62,7 +62,7 @@
}
image2d<bool> msk(3, 3, 0);
- level::fill(msk, pw::value(ima) >= pw::cst(5));
+ level::fill(msk, pw::value(ima) >= pw::cst(5u));
debug::println(msk);
{
mln_VAR(gra,