Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
pylene
Commits
6d92599c
Commit
6d92599c
authored
Jun 24, 2021
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
pylene/include/mln/morpho/watershed_hierarchy.hpp
View file @
6d92599c
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment