DGtal  1.0.0
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 >:
[legend]
Collaboration diagram for DGtal::LambdaMST3D< DSSSegmentationComputer, LambdaFunction, DSSFilter >:
[legend]

Public Member Functions

 LambdaMST3D ()
 
- Public Member Functions inherited from DGtal::LambdaMST3DEstimator< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter >
 BOOST_CONCEPT_ASSERT ((concepts::CSpace< Z3i::Space >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CLMSTTangentFromDSS< TangentFromDSS3DFunctor< DSSSegmentationComputer::SegmentComputer, LambdaFunction > >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CLMSTDSSFilter< DSSFilter >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CForwardSegmentComputer< typename DSSSegmentationComputer ::SegmentComputer >))
 
 BOOST_STATIC_ASSERT ((Z3i::Space ::dimension==3))
 
 LambdaMST3DEstimator ()
 Default constructor. More...
 
void init (ConstIterator itb, ConstIterator ite)
 
void attach (Alias< DSSSegmentationComputer > segmentComputer)
 
bool isValid () const
 
RealVector eval (const Point &p)
 
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< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter >
typedef DSSSegmentationComputer Segmentation
 Tangential cover algorithm. More...
 
typedef DSSSegmentationComputer ::SegmentComputer SegmentComputer
 Curve segmentation algorithm. More...
 
typedef SegmentComputer::ConstIterator ConstIterator
 Type of iterator, at least readable and forward. More...
 
typedef TangentFromDSS3DFunctor< DSSSegmentationComputer::SegmentComputer, LambdaFunction > ::Value Value
 Type returned by model of CLMSTTangentFrom2DSS. More...
 
typedef Z3i::Space ::RealVector RealVector
 Type of 3d real vector. More...
 
typedef Z3i::Space ::Point Point
 Type of 3d real point. More...
 
- Protected Types inherited from DGtal::LambdaMST3DEstimator< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter >
typedef std::vector< SegmentComputer >::const_iterator OrphanDSSIterator
 
- Protected Member Functions inherited from DGtal::LambdaMST3DEstimator< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< DSSSegmentationComputer::SegmentComputer, LambdaFunction >, DSSFilter >
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...
 
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
Examples
geometry/curves/estimation/exampleLMST3D.cpp.

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: