
https://svn.lrde.epita.fr/svn/oln/trunk/milena Index: ChangeLog from Roland Levillain <roland@lrde.epita.fr> Fix the labeling in Meyer's WST algorithm. * mln/morpho/meyer_wst.hh: Use 0 for the label of the watershed, to be consistent with other labeling algorithms (computation of regional minima, for instance). meyer_wst.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: mln/morpho/meyer_wst.hh --- mln/morpho/meyer_wst.hh (revision 2056) +++ mln/morpho/meyer_wst.hh (working copy) @@ -110,7 +110,8 @@ /* FIXME: Ensure the input image has scalar values. */ typedef L marker; - const marker unmarked = mln_min(marker); + // FIXME: Use literal::zero. + const marker unmarked = 0; // Initialize the output with the markers (minima components). mln_ch_value(I, marker) output =