Commit e46ede4b authored by Roland Levillain's avatar Roland Levillain
Browse files

* 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.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1827 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 5558d701
2008-04-02 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.
2008-04-02 Roland Levillain <roland@lrde.epita.fr>
Enable tests/core/line_graph_elt_neighborhood.
......
......@@ -49,6 +49,9 @@ namespace mln
///
/// 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,
......
......@@ -113,12 +113,6 @@ namespace mln
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);
......
......@@ -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:
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment