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

#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 ([8]). They specify for GEODESIC_NEIGHBORHOOD_SIZE:

Definition at line 73 of file DigitalTopologyTraits.h.

Field Documentation

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: