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
7a9fea56
Commit
7a9fea56
authored
Jun 16, 2021
by
Victor Simonin
Browse files
Add .rst documentation for saliency on component tree
parent
96becb65
Pipeline
#28571
passed with stage
in 27 minutes and 58 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
doc/source/morpho/component_tree.rst
View file @
7a9fea56
...
...
@@ -294,6 +294,18 @@ to make an horizontal cut of this tree.
:param nodemap: An image thats maps ``point -> node id``
:param levels: (Optional) The altitude of each node in the tree (for example the :math:`\alpha` associated to each node for the alphatree).
Saliency Computation
--------------
It is also possible to compute the saliency map to obtain another visualization.
.. cpp:function:: auto saliency(Image node_map)
Compute and return the saliency map of the tree.
:param node_map: An image thats maps ``point -> node id``
:return: The saliency map as an image
A complete example
------------------
...
...
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