DGtal  0.9.4beta
Public Member Functions | Private Types
DGtal::CurvatureFromDSSEstimator< DSSComputer > Class Template Reference

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

Inheritance diagram for DGtal::CurvatureFromDSSEstimator< DSSComputer >:
[legend]
Collaboration 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 1589 of file SegmentComputerEstimators.h.

Member Typedef Documentation

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

Definition at line 1593 of file SegmentComputerEstimators.h.

Constructor & Destructor Documentation

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

Default Constructor.

Definition at line 1599 of file SegmentComputerEstimators.h.

1599 : Super() {};
detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLengthAndWidth > Super
template<typename DSSComputer >
DGtal::CurvatureFromDSSEstimator< DSSComputer >::CurvatureFromDSSEstimator ( const CurvatureFromDSSEstimator< DSSComputer > &  other)
inline

Copy constructor.

Parameters
otherthe object to clone.

Definition at line 1604 of file SegmentComputerEstimators.h.

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

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