* mln/morpho/erosion.spe.hh
(mln::morpho::internal::erosion_dispatch): (Temporarily) disable
delegation to fastest routines.
---
milena/ChangeLog | 8 ++++++++
milena/mln/morpho/erosion.spe.hh | 7 +++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 7a5b4cd..abe1c4e 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-23 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Have morphological erosion work on non-classical image types.
+
+ * mln/morpho/erosion.spe.hh
+ (mln::morpho::internal::erosion_dispatch): (Temporarily) disable
+ delegation to fastest routines.
+
2008-09-22 Ugo Jardonnet <ugo.jardonnet(a)lrde.epita.fr>
Add basic conversion + minor fixes.
diff --git a/milena/mln/morpho/erosion.spe.hh b/milena/mln/morpho/erosion.spe.hh
index 1fff72d..39f2faf 100644
--- a/milena/mln/morpho/erosion.spe.hh
+++ b/milena/mln/morpho/erosion.spe.hh
@@ -444,16 +444,23 @@ namespace mln
{
if (mlc_equal(mln_trait_image_kind(I)(),
trait::image::kind::logic)::value == true)
+/* FIXME: Temporarily disabled, since this dynamic dispatch triggers
+ errors when class I has no pixter associated type(s). */
+#if 0
if (mlc_equal(mln_trait_image_speed(I)(),
trait::image::speed::fastest)::value == true)
return impl::erosion_on_set_fastest(input, win);
else
+#endif
return impl::generic::erosion_on_set(input, win);
else
+// FIXME: Likewise.
+#if 0
if (mlc_equal(mln_trait_image_speed(I)(),
trait::image::speed::fastest)::value == true)
return impl::erosion_on_function_fastest(input, win);
else
+#endif
return impl::generic::erosion_on_function(input, win);
}
--
1.6.0.1
Show replies by date