33 #if defined(TwoStepLocalLengthEstimator_RECURSES) 34 #error Recursive header files inclusion detected in TwoStepLocalLengthEstimator.h 35 #else // defined(TwoStepLocalLengthEstimator_RECURSES) 37 #define TwoStepLocalLengthEstimator_RECURSES 39 #if !defined TwoStepLocalLengthEstimator_h 41 #define TwoStepLocalLengthEstimator_h 46 #include "DGtal/base/Common.h" 64 template <
typename TConstIterator>
104 const bool& isClosed);
176 template <
typename T>
178 operator<< ( std::ostream & out, const TwoStepLocalLengthEstimator<T> & object );
185 #include "DGtal/geometry/curves/estimation/TwoStepLocalLengthEstimator.ih" 190 #endif // !defined TwoStepLocalLengthEstimator_h 192 #undef TwoStepLocalLengthEstimator_RECURSES 193 #endif // else defined(TwoStepLocalLengthEstimator_RECURSES) MyDigitalSurface::ConstIterator ConstIterator
Aim: a simple model of CGlobalCurveEstimator that compute the length of a curve using the l_1 metric ...
TConstIterator ConstIterator
void selfDisplay(std::ostream &out) const
ConstIterator myBeginIt
Copy of the range.
bool myIsInitBefore
Boolean to make sure that init() has been called before eval().
TwoStepLocalLengthEstimator(const double wdirect, const double wdiag)
DGtal is the top-level namespace which contains all DGtal functions and types.
TwoStepLocalLengthEstimator & operator=(const TwoStepLocalLengthEstimator &other)
void init(const double h, const ConstIterator &itb, const ConstIterator &ite, const bool &isClosed)
~TwoStepLocalLengthEstimator()
double myWeightDirect
Weights.