DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Private Types
DGtal::CurvatureFromDSSLengthEstimator< DSSComputer > Class Template Reference

#include <SegmentComputerEstimators.h>

Inheritance diagram for DGtal::CurvatureFromDSSLengthEstimator< DSSComputer >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::CurvatureFromDSSLengthEstimator< DSSComputer >:
Collaboration graph
[legend]

Public Member Functions

 CurvatureFromDSSLengthEstimator ()
 CurvatureFromDSSLengthEstimator (const CurvatureFromDSSLengthEstimator &other)
- Public Member Functions inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLength >
 BOOST_CONCEPT_ASSERT ((CUnaryFunctor< detail::CurvatureFromDSSLength, 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 &it)
OutputIterator eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result)
void attach (const SegmentComputer &aSC)

Private Types

typedef
detail::CurvatureFromDSSBaseEstimator
< DSSComputer,
detail::CurvatureFromDSSLength
Super

Additional Inherited Members

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

Detailed Description

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

Description of class 'CurvatureFromDSSLengthEstimator' <p> Aim: 
estimates the curvature from a DSS
recognized by a segment computer.

The curvature \form#259 is defined from the discrete length \form#4 
of a DSS as follow: 

\( 1/k = l*l/8 + 1/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

In this approach, the DSS is viewed as the chord 
at a distance h (the grid step) to the osculating circle. 
Unfortunately, maximal DSS are in general too short.

@tparam DSSComputer a model of segment computer
devoted the DSS recognition

Definition at line 1561 of file SegmentComputerEstimators.h.


Member Typedef Documentation

template<typename DSSComputer >
typedef detail::CurvatureFromDSSBaseEstimator<DSSComputer, detail::CurvatureFromDSSLength > DGtal::CurvatureFromDSSLengthEstimator< DSSComputer >::Super
private

Definition at line 1565 of file SegmentComputerEstimators.h.


Constructor & Destructor Documentation

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

Default Constructor.

Definition at line 1571 of file SegmentComputerEstimators.h.

: Super() {};
template<typename DSSComputer >
DGtal::CurvatureFromDSSLengthEstimator< DSSComputer >::CurvatureFromDSSLengthEstimator ( const CurvatureFromDSSLengthEstimator< DSSComputer > &  other)
inline

Copy constructor.

Parameters:
otherthe object to clone.

Definition at line 1576 of file SegmentComputerEstimators.h.

: Super(other) {};

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