DGtal  1.5.beta
DGtal::Z2i Namespace Reference

Z2i this namespace gathers the standard of types for 2D imagery. More...

Typedefs

typedef DGtal::int32_t Integer
 
typedef SpaceND< 2, IntegerSpace
 
typedef Space Z2
 
typedef KhalimskySpaceND< 2, IntegerKSpace
 
typedef KSpace K2
 
typedef KSpace::Cell Cell
 
typedef KSpace::SCell SCell
 
typedef KSpace::Cells Cells
 
typedef KSpace::SCells SCells
 
typedef KhalimskyPreSpaceND< 2, IntegerKPreSpace
 
typedef KPreSpace KP2
 
typedef KPreSpace::Cell PreCell
 
typedef KPreSpace::SCell SPreCell
 
typedef KPreSpace::Cells PreCells
 
typedef KPreSpace::SCells SPreCells
 
typedef MetricAdjacency< Space, 1 > Adj4
 
typedef MetricAdjacency< Space, 2 > Adj8
 
typedef DigitalTopology< Adj4, Adj8DT4_8
 
typedef DigitalTopology< Adj8, Adj4DT8_4
 
typedef Space::Point Point
 
typedef Space::Vector Vector
 
typedef Space::RealPoint RealPoint
 
typedef Space::RealVector RealVector
 
typedef HyperRectDomain< SpaceDomain
 
typedef DigitalSetSelector< Domain, BIG_DS+HIGH_BEL_DS >::Type DigitalSet
 
typedef Object< DT4_8, DigitalSetObject4_8
 
typedef Object< DT4_8, DigitalSet >::ComplementObject ComplementObject4_8
 
typedef Object< DT4_8, DigitalSet >::SmallObject SmallObject4_8
 
typedef Object< DT4_8, DigitalSet >::SmallComplementObject SmallComplementObject4_8
 
typedef Object< DT8_4, DigitalSetObject8_4
 
typedef Object< DT8_4, DigitalSet >::ComplementObject ComplementObject8_4
 
typedef Object< DT8_4, DigitalSet >::SmallObject SmallObject8_4
 
typedef Object< DT8_4, DigitalSet >::SmallComplementObject SmallComplementObject8_4
 
typedef GridCurve< K2Curve
 
typedef ExactPredicateLpSeparableMetric< Space, 2 > L2Metric
 
typedef ExactPredicateLpSeparableMetric< Space, 1 > L1Metric
 
typedef ExactPredicateLpPowerSeparableMetric< Space, 2 > L2PowerMetric
 
typedef ExactPredicateLpPowerSeparableMetric< Space, 1 > L1PowerMetric
 

Variables

static const Adj4 adj4
 
static const Adj8 adj8
 
static const DT4_8 dt4_8 = DT4_8( adj4, adj8, JORDAN_DT )
 
static const DT8_4 dt8_4 = DT8_4( adj8, adj4, JORDAN_DT )
 
static const L2Metric l2Metric
 
static const L1Metric l1Metric
 
static const L2PowerMetric l2PowerMetric
 
static const L1PowerMetric l1PowerMetric
 

Detailed Description

Z2i this namespace gathers the standard of types for 2D imagery.

This namespace gathers all standard type definitions as well as some static instances for using a 2D digital space with integers represented by 'int'. It is useful for a developer who wants to develop an application in the 2D plane and who does not wish to tune specifically the possible types.

This is the standard set of types for 2D imagery.

Todo:
Once stabilized, provide a Z2l (for int64) and a Z2I (for arbitrary integers).

Typedef Documentation

◆ Adj4

Standard 4-neighborhood for a 2D digital space.

Definition at line 90 of file StdDefs.h.

◆ Adj8

Standard 8-neighborhood for a 2D digital space.

Definition at line 92 of file StdDefs.h.

◆ Cell

Definition at line 79 of file StdDefs.h.

◆ Cells

Definition at line 81 of file StdDefs.h.

◆ ComplementObject4_8

Definition at line 102 of file StdDefs.h.

◆ ComplementObject8_4

Definition at line 106 of file StdDefs.h.

◆ Curve

Definition at line 116 of file StdDefs.h.

◆ DigitalSet

◆ Domain

◆ DT4_8

Definition at line 93 of file StdDefs.h.

◆ DT8_4

Definition at line 94 of file StdDefs.h.

◆ Integer

Definition at line 74 of file StdDefs.h.

◆ K2

Definition at line 78 of file StdDefs.h.

◆ KP2

Definition at line 84 of file StdDefs.h.

◆ KPreSpace

Definition at line 83 of file StdDefs.h.

◆ KSpace

◆ L1Metric

◆ L1PowerMetric

◆ L2Metric

◆ L2PowerMetric

◆ Object4_8

Definition at line 101 of file StdDefs.h.

◆ Object8_4

Definition at line 105 of file StdDefs.h.

◆ Point

◆ PreCell

Definition at line 85 of file StdDefs.h.

◆ PreCells

Definition at line 87 of file StdDefs.h.

◆ RealPoint

◆ RealVector

Definition at line 98 of file StdDefs.h.

◆ SCell

Definition at line 80 of file StdDefs.h.

◆ SCells

Definition at line 82 of file StdDefs.h.

◆ SmallComplementObject4_8

typedef Object<DT4_8, DigitalSet>::SmallComplementObject DGtal::Z2i::SmallComplementObject4_8

Definition at line 104 of file StdDefs.h.

◆ SmallComplementObject8_4

typedef Object<DT8_4, DigitalSet>::SmallComplementObject DGtal::Z2i::SmallComplementObject8_4

Definition at line 108 of file StdDefs.h.

◆ SmallObject4_8

Definition at line 103 of file StdDefs.h.

◆ SmallObject8_4

Definition at line 107 of file StdDefs.h.

◆ Space

Definition at line 75 of file StdDefs.h.

◆ SPreCell

Definition at line 86 of file StdDefs.h.

◆ SPreCells

Definition at line 88 of file StdDefs.h.

◆ Vector

◆ Z2

Definition at line 76 of file StdDefs.h.

Variable Documentation

◆ adj4

const Adj4 DGtal::Z2i::adj4
static

Definition at line 111 of file StdDefs.h.

◆ adj8

const Adj8 DGtal::Z2i::adj8
static

Definition at line 112 of file StdDefs.h.

◆ dt4_8

const DT4_8 DGtal::Z2i::dt4_8 = DT4_8( adj4, adj8, JORDAN_DT )
static

Definition at line 113 of file StdDefs.h.

◆ dt8_4

const DT8_4 DGtal::Z2i::dt8_4 = DT8_4( adj8, adj4, JORDAN_DT )
static

Definition at line 114 of file StdDefs.h.

◆ l1Metric

const L1Metric DGtal::Z2i::l1Metric
static

Definition at line 124 of file StdDefs.h.

◆ l1PowerMetric

const L1PowerMetric DGtal::Z2i::l1PowerMetric
static

Definition at line 126 of file StdDefs.h.

◆ l2Metric

const L2Metric DGtal::Z2i::l2Metric
static

Definition at line 123 of file StdDefs.h.

Referenced by main(), and TEST_CASE().

◆ l2PowerMetric

const L2PowerMetric DGtal::Z2i::l2PowerMetric
static

Definition at line 125 of file StdDefs.h.