DGtal  1.5.beta
DGtal::CurvatureFromDSSEstimator< DSSComputer > Class Template Reference

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

Inheritance diagram for DGtal::CurvatureFromDSSEstimator< DSSComputer >:
[legend]

Public Member Functions

 CurvatureFromDSSEstimator ()
 
 CurvatureFromDSSEstimator (const CurvatureFromDSSEstimator &other)
 
- Public Member Functions inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLengthAndWidth >
 BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< detail::CurvatureFromDSSLengthAndWidth, SegmentComputer, Quantity >))
 
 CurvatureFromDSSBaseEstimator ()
 
 CurvatureFromDSSBaseEstimator (const CurvatureFromDSSBaseEstimator &other)
 
CurvatureFromDSSBaseEstimatoroperator= (const CurvatureFromDSSBaseEstimator &other)
 
 ~CurvatureFromDSSBaseEstimator ()
 
bool isValid () const
 
void init (const double h, const ConstIterator &itb, const ConstIterator &ite)
 
Quantity eval (const ConstIterator &)
 
OutputIterator eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result)
 
void attach (const SegmentComputer &aSC)
 

Private Types

typedef detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLengthAndWidthSuper
 

Additional Inherited Members

- Public Types inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLengthAndWidth >
typedef DSSComputer SegmentComputer
 
typedef DSSComputer::ConstIterator ConstIterator
 
typedef double Quantity
 
- Data Fields inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLengthAndWidth >
double myH
 
ConstIterator myBegin
 
ConstIterator myEnd
 
const SegmentComputermySCPtr
 
detail::CurvatureFromDSSLengthAndWidth myFunctor
 

Detailed Description

template<typename DSSComputer>
class DGtal::CurvatureFromDSSEstimator< DSSComputer >

Description of class 'CurvatureFromDSSLengthEstimator'

Aim: estimates the curvature from a DSS recognized by a segment computer.

The curvature \( k \) is defined from the length \( l \) and the width \( w \) of a DSS as follow: \( 1/k = (l*l)/(8*w) + w/2 \)

Note
Adaption from Coeurjolly, D. and Miguet, S. and Tougne, L. "Discrete Curvature Based on Osculating Circle Estimation", Proc. IWVF, LNCS, vol 2059, pp.303-312, 2001
Template Parameters
DSSComputera model of segment computer devoted the DSS recognition

Definition at line 1585 of file SegmentComputerEstimators.h.

Member Typedef Documentation

◆ Super

template<typename DSSComputer >
typedef detail::CurvatureFromDSSBaseEstimator<DSSComputer, detail::CurvatureFromDSSLengthAndWidth > DGtal::CurvatureFromDSSEstimator< DSSComputer >::Super
private

Definition at line 1589 of file SegmentComputerEstimators.h.

Constructor & Destructor Documentation

◆ CurvatureFromDSSEstimator() [1/2]

template<typename DSSComputer >
DGtal::CurvatureFromDSSEstimator< DSSComputer >::CurvatureFromDSSEstimator ( )
inline

Default Constructor.

Definition at line 1595 of file SegmentComputerEstimators.h.

1595 : Super() {};
detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLengthAndWidth > Super

◆ CurvatureFromDSSEstimator() [2/2]

template<typename DSSComputer >
DGtal::CurvatureFromDSSEstimator< DSSComputer >::CurvatureFromDSSEstimator ( const CurvatureFromDSSEstimator< DSSComputer > &  other)
inline

Copy constructor.

Parameters
otherthe object to clone.

Definition at line 1600 of file SegmentComputerEstimators.h.

1600 : Super(other) {};

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