Commit 178d9766 authored by Roland Levillain's avatar Roland Levillain
Browse files

Get the `detach' argument of thinning algorithms by reference.

	* mln/topo/skeleton/breadth_first_thinning.hh
	(topo::skeleton::breadth_first_thinning)
	* mln/topo/skeleton/priority_driven_thinning.hh
	(topo::skeleton::priority_driven_thinning):
	Here.
parent 9b0c072e
2010-09-20 Roland Levillain <roland@lrde.epita.fr>
Get the `detach' argument of thinning algorithms by reference.
* mln/topo/skeleton/breadth_first_thinning.hh
(topo::skeleton::breadth_first_thinning)
* mln/topo/skeleton/priority_driven_thinning.hh
(topo::skeleton::priority_driven_thinning):
Here.
2010-09-19 Roland Levillain <roland@lrde.epita.fr>
 
Get rid of intermediate psites in thinning algorithms.
......@@ -69,7 +69,7 @@ namespace mln
breadth_first_thinning(const Image<I>& input,
const Neighborhood<N>& nbh,
Function_v2b<F>& is_simple,
G detach,
G& detach,
const Function_v2b<H>& constraint);
......@@ -90,7 +90,7 @@ namespace mln
breadth_first_thinning(const Image<I>& input,
const Neighborhood<N>& nbh,
Function_v2b<F>& is_simple,
G detach);
G& detach);
# ifndef MLN_INCLUDE_ONLY
......@@ -101,7 +101,7 @@ namespace mln
breadth_first_thinning(const Image<I>& input_,
const Neighborhood<N>& nbh_,
Function_v2b<F>& is_simple_,
G detach,
G& detach,
const Function_v2b<H>& constraint_)
{
trace::entering("topo::skeleton::breadth_first_thinning");
......@@ -153,7 +153,7 @@ namespace mln
breadth_first_thinning(const Image<I>& input,
const Neighborhood<N>& nbh,
Function_v2b<F>& is_simple,
G detach)
G& detach)
{
return breadth_first_thinning(input, nbh, is_simple, detach,
fun::p2b::tautology());
......
......@@ -72,7 +72,7 @@ namespace mln
priority_driven_thinning(const Image<I>& input,
const Neighborhood<N>& nbh,
Function_v2b<F>& is_simple,
G detach,
G& detach,
const Image<J>& priority,
const Function_v2b<H>& constraint);
......@@ -95,7 +95,7 @@ namespace mln
priority_driven_thinning(const Image<I>& input,
const Neighborhood<N>& nbh,
Function_v2b<F>& is_simple,
G detach,
G& detach,
const Image<J>& priority);
......@@ -108,7 +108,7 @@ namespace mln
priority_driven_thinning(const Image<I>& input_,
const Neighborhood<N>& nbh_,
Function_v2b<F>& is_simple_,
G detach,
G& detach,
const Image<J>& priority_,
const Function_v2b<H>& constraint_)
{
......@@ -163,7 +163,7 @@ namespace mln
priority_driven_thinning(const Image<I>& input,
const Neighborhood<N>& nbh,
Function_v2b<F>& is_simple,
G detach,
G& detach,
const Image<J>& priority)
{
return priority_driven_thinning(input, nbh, is_simple, detach,
......
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