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

Edge-indexed contour set induced by thresholding a saliency map. More...

#include <HierarchySaliencyMapProjection.hpp>

Public Member Functions

std::size_t size () const noexcept
 Returns the number of selected edges.
 
bool empty () const noexcept
 Returns whether no contour edge is selected.
 

Public Attributes

int numRows = 0
 Number of rows in the image grid.
 
int numColumns = 0
 Number of columns in the image grid.
 
double adjacencyRadius = 0.0
 Radius of the adjacency used to enumerate the edges.
 
std::vector< NodeIdsources
 Source pixel identifier of each selected edge.
 
std::vector< NodeIdtargets
 Target pixel identifier of each selected edge.
 

Detailed Description

Edge-indexed contour set induced by thresholding a saliency map.

The arrays are parallel: sources[i] and targets[i] describe one undirected image-domain graph edge selected as a contour edge.

Definition at line 23 of file HierarchySaliencyMapProjection.hpp.

Member Function Documentation

◆ empty()

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

Returns whether no contour edge is selected.

Returns
Whether no contour edge is selected.

Definition at line 47 of file HierarchySaliencyMapProjection.hpp.

◆ size()

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

Returns the number of selected edges.

Returns
The number of selected edges.

Definition at line 40 of file HierarchySaliencyMapProjection.hpp.

Member Data Documentation

◆ adjacencyRadius

double mmcfilters::EdgeContourMap::adjacencyRadius = 0.0

Radius of the adjacency used to enumerate the edges.

Definition at line 29 of file HierarchySaliencyMapProjection.hpp.

◆ numColumns

int mmcfilters::EdgeContourMap::numColumns = 0

Number of columns in the image grid.

Definition at line 27 of file HierarchySaliencyMapProjection.hpp.

◆ numRows

int mmcfilters::EdgeContourMap::numRows = 0

Number of rows in the image grid.

Definition at line 25 of file HierarchySaliencyMapProjection.hpp.

◆ sources

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

Source pixel identifier of each selected edge.

Definition at line 31 of file HierarchySaliencyMapProjection.hpp.

◆ targets

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

Target pixel identifier of each selected edge.

Definition at line 33 of file HierarchySaliencyMapProjection.hpp.


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