29 #if defined(LAMBDAMST2D_RECURSES)
30 #error Recursive header files inclusion detected in LambdaMST2D.h
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>
131 template <
typename OutputIterator>
132 void accumulate ( std::vector < Value > & outValues, OutputIterator & result );
166 template <
typename DSSSegmentationComputer,
typename LambdaFunction = functors::Lambda64Function >
169 TangentFromDSS2DFunctor < typename DSSSegmentationComputer::SegmentComputer, LambdaFunction > >
184 #include "DGtal/geometry/curves/estimation/LambdaMST2D.ih"
191 #undef LAMBDAMST2D_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
std::vector< Z2i::Point >::const_iterator ConstIterator
BOOST_STATIC_ASSERT((TSpace::dimension==2))
BOOST_CONCEPT_ASSERT((concepts::CLMSTTangentFromDSS< Functor >))
SegmentComputer::ConstIterator ConstIterator
Type of iterator, at least readable and forward.
TSegmentation::SegmentComputer SegmentComputer
Curve segmentation algorithm.
Functor::Value Value
Type returned by model of CLMSTTangentFrom2DSS.
RealVector eval(const Point &p)
void init(ConstIterator itb, ConstIterator ite)
TSpace::Point Point
Type of 3d real point.
OutputIterator eval(ConstIterator itb, ConstIterator ite, OutputIterator result)
LambdaMST2DEstimator()
Default constructor.
void accumulate(std::vector< Value > &outValues, OutputIterator &result)
Accumulate partial results obtained for each point.
void attach(Alias< TSegmentation > SegmentComputer)
TSpace::RealVector RealVector
Type of 3d real vector.
TSegmentation Segmentation
Tangential cover algorithm.
BOOST_CONCEPT_ASSERT((concepts::CForwardSegmentComputer< typename TSegmentation::SegmentComputer >))
TSegmentation * dssSegments
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
Aim: Simplify creation of Lambda MST tangent estimator.
LambdaMST2DEstimator< Z2i::Space, DSSSegmentationComputer, TangentFromDSS2DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction > > Super
Space::RealVector RealVector
SpaceND< 2, Integer > Space
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines the concept describing a forward segment computer. Like any model of CIncrementalSegment...
Aim: Defines the concept describing a functor which calculates a direction of the 2D DSS and an eccen...
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.
ArithmeticalDSSComputer< std::vector< Z2i::Point >::const_iterator, int, 4 > SegmentComputer
InHalfPlaneBySimple3x3Matrix< Point, double > Functor