|
mmcfilters
Public API documentation
|
Per-node incremental contour edges induced by a hierarchy. More...
#include <HierarchySaliencyMapProjection.hpp>
Public Member Functions | |
| std::size_t | size () const noexcept |
| Returns the total number of stored contour edges. | |
| bool | empty () const noexcept |
| Returns whether no contour edge is stored. | |
| std::size_t | nodeBegin (NodeId nodeId) const |
Returns the inclusive edge offset for nodeId. | |
| std::size_t | nodeEnd (NodeId nodeId) const |
Returns the exclusive edge offset for nodeId. | |
| std::size_t | nodeSize (NodeId nodeId) const |
Returns the number of contour edges owned by nodeId. | |
Public Attributes | |
| int | numRows = 0 |
| Number of rows in the image grid. | |
| int | numColumns = 0 |
| Number of columns in the image grid. | |
| int | numNodeSlots = 0 |
| Number of slots in the dense node-id domain. | |
| double | adjacencyRadius = 0.0 |
| Radius of the adjacency used to enumerate the edges. | |
| std::vector< std::size_t > | offsets |
| CSR-style boundaries of the edge slice owned by each node. | |
| std::vector< NodeId > | sources |
| Source pixel ids grouped by boundary-owning node. | |
| std::vector< NodeId > | targets |
Target pixel ids parallel to sources. | |
Per-node incremental contour edges induced by a hierarchy.
For a node u, the slice sources[offsets[u]:offsets[u + 1]] and targets[offsets[u]:offsets[u + 1]] stores exactly the transition adjacency edges whose endpoint smallest nodes are distinct and whose endpoint-smallest-node LCA is u. Edges whose endpoints already belong to the same finest region are omitted; in the full formal saliency map they have the implicit base value 0.
Definition at line 106 of file HierarchySaliencyMapProjection.hpp.
|
inlinenoexcept |
Returns whether no contour edge is stored.
Definition at line 134 of file HierarchySaliencyMapProjection.hpp.
|
inline |
Returns the inclusive edge offset for nodeId.
| nodeId | Dense internal node identifier. |
Definition at line 142 of file HierarchySaliencyMapProjection.hpp.
|
inline |
Returns the exclusive edge offset for nodeId.
| nodeId | Dense internal node identifier. |
Definition at line 150 of file HierarchySaliencyMapProjection.hpp.
|
inline |
Returns the number of contour edges owned by nodeId.
| nodeId | Dense internal node identifier. |
Definition at line 158 of file HierarchySaliencyMapProjection.hpp.
|
inlinenoexcept |
Returns the total number of stored contour edges.
Definition at line 127 of file HierarchySaliencyMapProjection.hpp.
| double mmcfilters::IncrementalNodeContourMap::adjacencyRadius = 0.0 |
Radius of the adjacency used to enumerate the edges.
Definition at line 114 of file HierarchySaliencyMapProjection.hpp.
| int mmcfilters::IncrementalNodeContourMap::numColumns = 0 |
Number of columns in the image grid.
Definition at line 110 of file HierarchySaliencyMapProjection.hpp.
| int mmcfilters::IncrementalNodeContourMap::numNodeSlots = 0 |
Number of slots in the dense node-id domain.
Definition at line 112 of file HierarchySaliencyMapProjection.hpp.
| int mmcfilters::IncrementalNodeContourMap::numRows = 0 |
Number of rows in the image grid.
Definition at line 108 of file HierarchySaliencyMapProjection.hpp.
| std::vector<std::size_t> mmcfilters::IncrementalNodeContourMap::offsets |
CSR-style boundaries of the edge slice owned by each node.
Definition at line 116 of file HierarchySaliencyMapProjection.hpp.
| std::vector<NodeId> mmcfilters::IncrementalNodeContourMap::sources |
Source pixel ids grouped by boundary-owning node.
Definition at line 118 of file HierarchySaliencyMapProjection.hpp.
| std::vector<NodeId> mmcfilters::IncrementalNodeContourMap::targets |
Target pixel ids parallel to sources.
Definition at line 120 of file HierarchySaliencyMapProjection.hpp.