DGtal  1.2.0
Static Public Attributes
DGtal::DigitalTopologyTraits< TForegroundAdjacency, TBackgroundAdjacency, dim > Struct Template Reference

Aim: the traits classes for DigitalTopology types. More...

#include <DGtal/topology/DigitalTopologyTraits.h>

Static Public Attributes

static const Dimension GEODESIC_NEIGHBORHOOD_SIZE = dim
 

Detailed Description

template<typename TForegroundAdjacency, typename TBackgroundAdjacency, Dimension dim>
struct DGtal::DigitalTopologyTraits< TForegroundAdjacency, TBackgroundAdjacency, dim >

Aim: the traits classes for DigitalTopology types.

Description of template class 'DigitalTopologyTraits'

Template Parameters
TForegroundAdjacencyany model of CAdjacency.
TBackgroundAdjacencyany model of CAdjacency.
dimthe dimension of the embedding digital space.

The traits are specialized for the classical (4,8) and (8,4) adjacencies in 2D and (6,18), (6,26), (26,6) and (18,6) adjacencies in 3D, following the works of Bertrand and Couprie ([12]). They specify for GEODESIC_NEIGHBORHOOD_SIZE:

Definition at line 73 of file DigitalTopologyTraits.h.

Field Documentation

◆ GEODESIC_NEIGHBORHOOD_SIZE

template<typename TForegroundAdjacency , typename TBackgroundAdjacency , Dimension dim>
const Dimension DGtal::DigitalTopologyTraits< TForegroundAdjacency, TBackgroundAdjacency, dim >::GEODESIC_NEIGHBORHOOD_SIZE = dim
static

Definition at line 77 of file DigitalTopologyTraits.h.


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