MorphologicalAttributeFilters
Public API documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mmcfilters::NodeContourEdgeMap Struct Reference

Edge-indexed contour set projected onto hierarchy nodes. More...

#include <HierarchySaliencyMapProjection.hpp>

Public Member Functions

std::size_t size () const noexcept
 Returns the number of projected contour edges.
 
bool empty () const noexcept
 Returns whether the projection has no contour edges.
 

Public Attributes

int numRows = 0
 Number of rows in the proper-part grid.
 
int numColumns = 0
 Number of columns in the proper-part grid.
 
double adjacencyRadius = 0.0
 Radius of the adjacency used to enumerate the edges.
 
std::vector< NodeIdsources
 Source proper-part id of each contour edge.
 
std::vector< NodeIdtargets
 Target proper-part id of each contour edge.
 
std::vector< NodeIdnodes
 Boundary-owning hierarchy node parallel to each edge.
 

Detailed Description

Edge-indexed contour set projected onto hierarchy nodes.

nodes[i] is the hierarchy node whose boundary contains the image-domain transition edge (sources[i], targets[i]). It is computed as LCA(smallestNode(sources[i]), smallestNode(targets[i])).

Definition at line 67 of file HierarchySaliencyMapProjection.hpp.

Member Function Documentation

◆ empty()

bool mmcfilters::NodeContourEdgeMap::empty ( ) const
inlinenoexcept

Returns whether the projection has no contour edges.

Returns
Whether the projection has no contour edges.

Definition at line 93 of file HierarchySaliencyMapProjection.hpp.

◆ size()

std::size_t mmcfilters::NodeContourEdgeMap::size ( ) const
inlinenoexcept

Returns the number of projected contour edges.

Returns
The number of projected contour edges.

Definition at line 86 of file HierarchySaliencyMapProjection.hpp.

Member Data Documentation

◆ adjacencyRadius

double mmcfilters::NodeContourEdgeMap::adjacencyRadius = 0.0

Radius of the adjacency used to enumerate the edges.

Definition at line 73 of file HierarchySaliencyMapProjection.hpp.

◆ nodes

std::vector<NodeId> mmcfilters::NodeContourEdgeMap::nodes

Boundary-owning hierarchy node parallel to each edge.

Definition at line 79 of file HierarchySaliencyMapProjection.hpp.

◆ numColumns

int mmcfilters::NodeContourEdgeMap::numColumns = 0

Number of columns in the proper-part grid.

Definition at line 71 of file HierarchySaliencyMapProjection.hpp.

◆ numRows

int mmcfilters::NodeContourEdgeMap::numRows = 0

Number of rows in the proper-part grid.

Definition at line 69 of file HierarchySaliencyMapProjection.hpp.

◆ sources

std::vector<NodeId> mmcfilters::NodeContourEdgeMap::sources

Source proper-part id of each contour edge.

Definition at line 75 of file HierarchySaliencyMapProjection.hpp.

◆ targets

std::vector<NodeId> mmcfilters::NodeContourEdgeMap::targets

Target proper-part id of each contour edge.

Definition at line 77 of file HierarchySaliencyMapProjection.hpp.


The documentation for this struct was generated from the following file: