Commit 7a9fea56 authored by Victor Simonin's avatar 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
......@@ -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
------------------
......
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