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

#include <BLUELocalLengthEstimator.h>

Inheritance diagram for DGtal::BLUELocalLengthEstimator< TConstIterator >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::BLUELocalLengthEstimator< TConstIterator >:
Collaboration graph
[legend]

Public Types

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

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
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'

Note:
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
Todo:
CONCEPT CHECK sur ConstIterator

Reimplemented from DGtal::TwoStepLocalLengthEstimator< TConstIterator >.

Definition at line 76 of file BLUELocalLengthEstimator.h.

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

Constructor & Destructor Documentation

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

Default Constructor.

Definition at line 83 of file BLUELocalLengthEstimator.h.

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

Copy constructor.

Parameters:
otherthe object to clone. Forbidden by default.

Member Function Documentation

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

Assignment.

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

Writes/Displays the object on an output stream.

Parameters:
outthe output stream where the object is written.

Reimplemented from DGtal::TwoStepLocalLengthEstimator< TConstIterator >.

Definition at line 96 of file BLUELocalLengthEstimator.h.

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

{
out << "[BLUELocalLengthEstimator]";
if (this->myIsInitBefore)
out <<" myH="<< this->myH;
else
out<< " not initialized";
}

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