DGtal  0.9.3beta
Public Types | Public Member Functions | Private Member Functions
DGtal::BLUELocalLengthEstimator< TConstIterator > Class Template Reference

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

Inheritance diagram for DGtal::BLUELocalLengthEstimator< TConstIterator >:
Collaboration diagram for DGtal::BLUELocalLengthEstimator< TConstIterator >:

Public Types

typedef TConstIterator ConstIterator
typedef double Quantity
- Public Types inherited from DGtal::TwoStepLocalLengthEstimator< TConstIterator >
typedef TConstIterator ConstIterator
typedef double Quantity

Public Member Functions

 BLUELocalLengthEstimator ()
void selfDisplay (std::ostream &out) const
- Public Member Functions inherited from DGtal::TwoStepLocalLengthEstimator< TConstIterator >
 TwoStepLocalLengthEstimator (const double wdirect, const double wdiag)
 ~TwoStepLocalLengthEstimator ()
void init (const double h, const ConstIterator &itb, const ConstIterator &ite, const bool &isClosed)
Quantity eval () const
void selfDisplay (std::ostream &out) const
bool isValid () const

Private Member Functions

 BLUELocalLengthEstimator (const BLUELocalLengthEstimator &other)
BLUELocalLengthEstimatoroperator= (const BLUELocalLengthEstimator &other)

Detailed Description

template<typename TConstIterator>
class DGtal::BLUELocalLengthEstimator< TConstIterator >

Aim: Best Linear Unbiased Two step length estimator.

Description of template class 'BLUELocalLengthEstimator'

L. Dorst & A.W.M. Smeulders "Length Estimators for Digitized Contours", Computer Vision, Graphics, and Image Processing, vol 40, pp.311-333, 1987

Model of CGlobalCurveGeometricEstimator

Template Parameters
TConstIteratora model of CConstIteratorOnArrows.

Definition at line 69 of file BLUELocalLengthEstimator.h.

Member Typedef Documentation

template<typename TConstIterator>
typedef TConstIterator DGtal::BLUELocalLengthEstimator< TConstIterator >::ConstIterator
CONCEPT CHECK sur ConstIterator

Definition at line 76 of file BLUELocalLengthEstimator.h.

template<typename TConstIterator>
typedef double DGtal::BLUELocalLengthEstimator< TConstIterator >::Quantity

Definition at line 77 of file BLUELocalLengthEstimator.h.

Constructor & Destructor Documentation

template<typename TConstIterator>
DGtal::BLUELocalLengthEstimator< TConstIterator >::BLUELocalLengthEstimator ( )

Default Constructor.

Definition at line 83 of file BLUELocalLengthEstimator.h.

83  :
84  TwoStepLocalLengthEstimator<TConstIterator>(0.948,1.343)
85  {}
template<typename TConstIterator>
DGtal::BLUELocalLengthEstimator< TConstIterator >::BLUELocalLengthEstimator ( const BLUELocalLengthEstimator< TConstIterator > &  other)

Copy constructor.

otherthe object to clone. Forbidden by default.

Member Function Documentation

template<typename TConstIterator>
BLUELocalLengthEstimator& DGtal::BLUELocalLengthEstimator< TConstIterator >::operator= ( const BLUELocalLengthEstimator< TConstIterator > &  other)


otherthe object to copy.
a reference on 'this'. Forbidden by default.
template<typename TConstIterator>
void DGtal::BLUELocalLengthEstimator< TConstIterator >::selfDisplay ( std::ostream &  out) const

Writes/Displays the object on an output stream.

outthe output stream where the object is written.

Definition at line 96 of file BLUELocalLengthEstimator.h.

References DGtal::TwoStepLocalLengthEstimator< TConstIterator >::myH, and DGtal::TwoStepLocalLengthEstimator< TConstIterator >::myIsInitBefore.

97  {
98  out << "[BLUELocalLengthEstimator]";
99  if (this->myIsInitBefore)
100  out <<" myH="<< this->myH;
101  else
102  out<< " not initialized";
103  }
bool myIsInitBefore
Boolean to make sure that init() has been called before eval().

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