DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Private Types
DGtal::LambdaMST3D< DSSSegmentationComputer, LambdaFunction, DSSFilter > Class Template Reference

Aim: Simplify creation of Lambda MST tangent estimator. More...

#include <DGtal/geometry/curves/estimation/LambdaMST3D.h>

Inheritance diagram for DGtal::LambdaMST3D< DSSSegmentationComputer, LambdaFunction, DSSFilter >:
DGtal::LambdaMST3DEstimator< TSpace, TSegmentation, Functor, DSSFilter >

Public Member Functions

 LambdaMST3D ()
 
- Public Member Functions inherited from DGtal::LambdaMST3DEstimator< TSpace, TSegmentation, Functor, DSSFilter >
 BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >))
 
 BOOST_STATIC_ASSERT ((TSpace::dimension==3))
 
 BOOST_CONCEPT_ASSERT ((concepts::CLMSTTangentFromDSS< Functor >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CLMSTDSSFilter< DSSFilter >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CForwardSegmentComputer< typename TSegmentation::SegmentComputer >))
 
 LambdaMST3DEstimator ()
 Default constructor. More...
 
void init (ConstIterator itb, ConstIterator ite)
 
void attach (Alias< TSegmentation > segmentComputer)
 
bool isValid () const
 
RealVector eval (const Point &p)
 
template<typename OutputIterator >
OutputIterator eval (ConstIterator itb, ConstIterator ite, OutputIterator result)
 
DSSFilter & getDSSFilter ()
 

Private Types

typedef LambdaMST3DEstimator< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter > Super
 

Additional Inherited Members

- Public Types inherited from DGtal::LambdaMST3DEstimator< TSpace, TSegmentation, Functor, DSSFilter >
typedef TSegmentation Segmentation
 Tangential cover algorithm. More...
 
typedef TSegmentation::SegmentComputer SegmentComputer
 Curve segmentation algorithm. More...
 
typedef SegmentComputer::ConstIterator ConstIterator
 Type of iterator, at least readable and forward. More...
 
typedef Functor::Value Value
 Type returned by model of CLMSTTangentFrom2DSS. More...
 
typedef TSpace::RealVector RealVector
 Type of 3d real vector. More...
 
typedef TSpace::Point Point
 Type of 3d real point. More...
 
- Protected Types inherited from DGtal::LambdaMST3DEstimator< TSpace, TSegmentation, Functor, DSSFilter >
typedef std::vector< SegmentComputer >::const_iterator OrphanDSSIterator
 
- Protected Member Functions inherited from DGtal::LambdaMST3DEstimator< TSpace, TSegmentation, Functor, DSSFilter >
template<typename OutputIterator >
void accumulate (std::multimap< Point, Value > &outValues, ConstIterator itb, ConstIterator ite, OutputIterator &result)
 Accumulate partial results obtained for each point. In 3D it can happen that DSSs' direction vectors over same point are opposite. To avoid this problem we measure angle between segments' direction vectors and if this angle is bigger than \(\pi/2\), then one of the vectors is reversed. Finally, tangent direction is estimated and stored. More...
 
Value treatOrphan (OrphanDSSIterator begin, OrphanDSSIterator end, const Point &p)
 Use the DSS filter defined conditions to ensure estimation over not covered points - orphans. More...
 
template<typename DSSesIterator , typename OrphanIterator >
void treatOrphans (DSSesIterator begin, DSSesIterator end, OrphanIterator obegin, OrphanIterator oend, std::multimap< Point, Value > &outValues)
 

Detailed Description

template<typename DSSSegmentationComputer, typename LambdaFunction = functors::Lambda64Function, typename DSSFilter = DSSMuteFilter < typename DSSSegmentationComputer::SegmentComputer >>
class DGtal::LambdaMST3D< DSSSegmentationComputer, LambdaFunction, DSSFilter >

Aim: Simplify creation of Lambda MST tangent estimator.

Template Parameters
DSSSegmentationComputertangential cover obtained by segmentation of a 2D digital curve by maximal straight segments
LambdaFunctionLambda functor
See also
FunctorsLambdaMST.h
Template Parameters
DSSFiltera functor used for filtering out DSSes which do not fullfil a given condition e.g., they are too short

Definition at line 209 of file LambdaMST3D.h.

Member Typedef Documentation

◆ Super

template<typename DSSSegmentationComputer , typename LambdaFunction = functors::Lambda64Function, typename DSSFilter = DSSMuteFilter < typename DSSSegmentationComputer::SegmentComputer >>
typedef LambdaMST3DEstimator<Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter > DGtal::LambdaMST3D< DSSSegmentationComputer, LambdaFunction, DSSFilter >::Super
private

Definition at line 215 of file LambdaMST3D.h.

Constructor & Destructor Documentation

◆ LambdaMST3D()

template<typename DSSSegmentationComputer , typename LambdaFunction = functors::Lambda64Function, typename DSSFilter = DSSMuteFilter < typename DSSSegmentationComputer::SegmentComputer >>
DGtal::LambdaMST3D< DSSSegmentationComputer, LambdaFunction, DSSFilter >::LambdaMST3D ( )
inline

Default Constructor.

Definition at line 221 of file LambdaMST3D.h.

221: Super() {}
LambdaMST3DEstimator< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter > Super
Definition: LambdaMST3D.h:215

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