DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes
DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor > Class Template Reference

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

#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

◆ BinomialConvolver

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

Definition at line 327 of file BinomialConvolver.h.

◆ BinomialConvolverFunctor

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

Definition at line 328 of file BinomialConvolver.h.

◆ ConstIterator

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

Definition at line 330 of file BinomialConvolver.h.

◆ ConstIteratorOnPoints

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

Definition at line 329 of file BinomialConvolver.h.

◆ Quantity

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

Definition at line 332 of file BinomialConvolver.h.

◆ Value

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

Definition at line 331 of file BinomialConvolver.h.

Constructor & Destructor Documentation

◆ BinomialConvolverEstimator()

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

Member Function Documentation

◆ eval() [1/2]

template<typename TBinomialConvolver , typename TBinomialConvolverFunctor >
Quantity DGtal::BinomialConvolverEstimator< TBinomialConvolver, TBinomialConvolverFunctor >::eval ( const ConstIterator it)
Returns
the estimated quantity at *it

◆ eval() [2/2]

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)

◆ init()

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

◆ myBC

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

Definition at line 367 of file BinomialConvolver.h.

◆ myFunctor

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: