Commit 6d92599c authored by Quentin Kaci's avatar Quentin Kaci
Browse files

Change visibility of edge_t in watershed_hierarchy.hpp

parent a5c9d9b5
Pipeline #28773 passed with stage
in 18 minutes and 39 seconds
......@@ -196,7 +196,7 @@ namespace mln::morpho
template <class I, class A, class N, class F>
auto watershed_hierarchy(I input, A attribute_func, N nbh, F distance)
{
std::vector<edge_t<image_point_t<I>, std::invoke_result_t<F, image_value_t<I>, image_value_t<I>>>> mst;
std::vector<internal::edge_t<image_point_t<I>, std::invoke_result_t<F, image_value_t<I>, image_value_t<I>>>> mst;
auto [tree, nm] = internal::__alphatree<false>(input, nbh, distance, false, false, &mst);
auto attribute = attribute_func(tree, nm);
......
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