DGtal  0.9.4beta
Public Types | Public Member Functions | Private Attributes
DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor > Class Template Reference

#include <DGtal/geometry/curves/BinomialConvolver.h>

Public Types

typedef TBinomialConvolver BinomialConvolver
 
typedef TBinomialConvolverFunctor BinomialConvolverFunctor
 
typedef BinomialConvolver::ConstIteratorOnPoints ConstIteratorOnPoints
 
typedef ConstIteratorOnPoints ConstIterator
 
typedef BinomialConvolverFunctor::Value Value
 
typedef Value Quantity
 

Public Member Functions

 BinomialConvolverEstimator (unsigned int n=0, const BinomialConvolverFunctor &f=BinomialConvolverFunctor())
 
void init (const double h, const ConstIterator &itb, const ConstIterator &ite, const bool isClosed=true)
 
Quantity eval (const ConstIterator &it)
 
template<typename OutputIterator >
OutputIterator eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result)
 

Private Attributes

BinomialConvolver myBC
 
BinomialConvolverFunctor myFunctor
 

Detailed Description

template<typename TBinomialConvolver, typename TBinomialConvolverFunctor>
class DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >

Aim: This class encapsulates a BinomialConvolver and a functor on BinomialConvolver so as to be a model of CCurveLocalGeometricEstimator.

Description of template class 'BinomialConvolverEstimator'

Template Parameters
TBinomialConvolverany BinomialConvolver.
TBinomialConvolverFunctor.

Definition at line 324 of file BinomialConvolver.h.

Member Typedef Documentation

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
typedef TBinomialConvolver DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::BinomialConvolver

Definition at line 327 of file BinomialConvolver.h.

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
typedef TBinomialConvolverFunctor DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::BinomialConvolverFunctor

Definition at line 328 of file BinomialConvolver.h.

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
typedef ConstIteratorOnPoints DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::ConstIterator

Definition at line 330 of file BinomialConvolver.h.

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
typedef BinomialConvolver::ConstIteratorOnPoints DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::ConstIteratorOnPoints

Definition at line 329 of file BinomialConvolver.h.

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
typedef Value DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::Quantity

Definition at line 332 of file BinomialConvolver.h.

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
typedef BinomialConvolverFunctor::Value DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::Value

Definition at line 331 of file BinomialConvolver.h.

Constructor & Destructor Documentation

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::BinomialConvolverEstimator ( unsigned int  n = 0,
const BinomialConvolverFunctor f = BinomialConvolverFunctor() 
)

Member Function Documentation

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
Quantity DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::eval ( const ConstIterator it)
Returns
the estimated quantity at *it
template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
template<typename OutputIterator >
OutputIterator DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::eval ( const ConstIterator itb,
const ConstIterator ite,
OutputIterator  result 
)
Returns
the estimated quantity from itb till ite (exculded)
template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
void DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::init ( const double  h,
const ConstIterator itb,
const ConstIterator ite,
const bool  isClosed = true 
)

Initialisation.

Parameters
hgrid size (must be >0).
itbbegin iterator
iteend iterator
isClosedtrue if the input range is viewed as closed.

Field Documentation

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
BinomialConvolver DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::myBC
private

Definition at line 367 of file BinomialConvolver.h.

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
BinomialConvolverFunctor DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::myFunctor
private

Definition at line 368 of file BinomialConvolver.h.


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