29 #if defined(LAMBDAMST2D_RECURSES) 30 #error Recursive header files inclusion detected in LambdaMST2D.h 31 #else // defined(LAMBDAMST2D_RECURSES) 33 #define LAMBDAMST2D_RECURSES 35 #if !defined LAMBDAMST2D_h 42 #include "DGtal/helpers/StdDefs.h" 43 #include "DGtal/kernel/CSpace.h" 44 #include "DGtal/kernel/PointVector.h" 45 #include "DGtal/geometry/curves/estimation/FunctorsLambdaMST.h" 46 #include "DGtal/geometry/curves/CForwardSegmentComputer.h" 47 #include "DGtal/geometry/curves/estimation/CLMSTTangentFromDSS.h" 56 template <
typename TSpace,
typename TSegmentation,
typename Functor >
110 template <
typename OutputIterator>
112 OutputIterator result );
132 template <
typename OutputIterator>
133 void accumulate ( std::vector < Value > & outValues, OutputIterator & result );
167 template <
typename DSSSegmentationComputer,
typename LambdaFunction = functors::Lambda64Function >
170 TangentFromDSS2DFunctor < typename DSSSegmentationComputer::SegmentComputer, LambdaFunction > >
185 #include "DGtal/geometry/curves/estimation/LambdaMST2D.ih" 190 #endif // !defined LAMBDAMST2D_h 192 #undef LAMBDAMST2D_RECURSES 193 #endif // else defined(LAMBDAMST2D_RECURSES) Functor::Value Value
Type returned by model of CLMSTTangentFrom2DSS.
MyDigitalSurface::ConstIterator ConstIterator
TSegmentation::SegmentComputer SegmentComputer
Curve segmentation algorithm.
SpaceND< 2, Integer > Space
TSpace::RealVector RealVector
Type of 3d real vector.
void accumulate(std::vector< Value > &outValues, OutputIterator &result)
Accumulate partial results obtained for each point.
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
LambdaMST2DEstimator()
Default constructor.
SegmentComputer::ConstIterator ConstIterator
Type of iterator, at least readable and forward.
TSegmentation * dssSegments
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines...
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
LambdaMST2DEstimator< Z2i::Space, DSSSegmentationComputer, TangentFromDSS2DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction > > Super
BOOST_STATIC_ASSERT((TSpace::dimension==2))
void init(const ConstIterator &itb, const ConstIterator &ite)
Aim: Defines the concept describing a forward segment computer. Like any model of CIncrementalSegment...
Aim: Simplify creation of Lambda MST tangent estimator.
DGtal is the top-level namespace which contains all DGtal functions and types.
RealVector eval(const ConstIterator &it)
TSpace::Point Point
Type of 3d real point.
void attach(Alias< TSegmentation > SegmentComputer)
TSegmentation Segmentation
Tangential cover algorithm.
Aim: Defines the concept describing a functor which calculates a direction of the 2D DSS and an eccen...