
https://svn.lrde.epita.fr/svn/oln/trunk/milena Index: ChangeLog from Roland Levillain <roland@lrde.epita.fr> * mln/accu/count_adjacent_vertices.hh, * mln/morpho/meyer_wst.hh, * tests/morpho/lena_line_graph_image_wst1.cc, * tests/morpho/lena_line_graph_image_wst2.cc: Fix comments. mln/accu/count_adjacent_vertices.hh | 3 +++ mln/morpho/meyer_wst.hh | 6 ------ tests/morpho/lena_line_graph_image_wst1.cc | 6 +++--- tests/morpho/lena_line_graph_image_wst2.cc | 7 +++---- 4 files changed, 9 insertions(+), 13 deletions(-) Index: mln/accu/count_adjacent_vertices.hh --- mln/accu/count_adjacent_vertices.hh (revision 1826) +++ mln/accu/count_adjacent_vertices.hh (working copy) @@ -49,6 +49,9 @@ /// /// The type to be count is mln::util::pix< mln::line_graph_image<P, V> > /// where \p P and \p V are the parameters of this class. + /// + /// This accumulator is used by mln::closing_area_on_vertices and + /// mln::opening_area_on_vertices. template <typename P, typename V> struct count_adjacent_vertices_ : public mln::accu::internal::base_< std::size_t, Index: mln/morpho/meyer_wst.hh --- mln/morpho/meyer_wst.hh (revision 1826) +++ mln/morpho/meyer_wst.hh (working copy) @@ -113,12 +113,6 @@ const marker unmarked = mln_min(marker); // Initialize the output with the markers (minima components). - /* FIXME: labeling::regional_minima doesn't work on non - point-accessible images! We temporarily reuse the old - morpho::minima_components routine to work-around this - limitation. As soon as labeling::regional_minima work, get rid of - - mln/morpho/level_components.hh, and - - mln/morpho/extrema_components.hh. */ mln_ch_value(I, marker) markers = labeling::regional_minima (input, nbh, nbasins); Index: tests/morpho/lena_line_graph_image_wst1.cc --- tests/morpho/lena_line_graph_image_wst1.cc (revision 1826) +++ tests/morpho/lena_line_graph_image_wst1.cc (working copy) @@ -26,11 +26,11 @@ // Public License. /* FIXME: We should factor as much things as possible between - tests/core/lena_line_graph_image_wst1.cc and - tests/core/lena_line_graph_image_wst2.cc, starting from conversion + tests/morpho/lena_line_graph_image_wst1.cc and + tests/morpho/lena_line_graph_image_wst2.cc, starting from conversion routines. */ -/** \file tests/core/lena_line_graph_image_wst1.cc +/** \file tests/morpho/lena_line_graph_image_wst1.cc \brief Tests on the Watershed Transform (WST) on a mln::line_graph_image. The scenario is as follows: Index: tests/morpho/lena_line_graph_image_wst2.cc --- tests/morpho/lena_line_graph_image_wst2.cc (revision 1826) +++ tests/morpho/lena_line_graph_image_wst2.cc (working copy) @@ -26,17 +26,16 @@ // Public License. /* FIXME: We should factor as much things as possible between - tests/core/lena_line_graph_image_wst1.cc and - tests/core/lena_line_graph_image_wst2.cc, starting from conversion + tests/morpho/lena_line_graph_image_wst1.cc and + tests/morpho/lena_line_graph_image_wst2.cc, starting from conversion routines. */ -/** \file tests/core/lena_line_graph_image_wst2.cc +/** \file tests/morpho/lena_line_graph_image_wst2.cc \brief More tests on the Watershed Transform (WST) on a mln::line_graph_image. The scenario is as follows: \li load a 2-D, gray-level image from a PGM file; - \li simplify the image to reduce the number of local minima; \li convert this 2-D image into a line graph-based one, where values on edges are computed as the absolute value f the difference between the values on the nodes adjacent to the edge, so as to
participants (1)
-
Roland Levillain