37#if defined(MLPLengthEstimator_RECURSES)
38#error Recursive header files inclusion detected in MLPLengthEstimator.h
41#define MLPLengthEstimator_RECURSES
43#if !defined MLPLengthEstimator_h
45#define MLPLengthEstimator_h
50#include "DGtal/base/Common.h"
51#include "DGtal/geometry/curves/FP.h"
68 template <
typename TConstIterator>
125 const double h = 1. )
const;
148 template <
typename T>
157#include "DGtal/geometry/curves/estimation/MLPLengthEstimator.ih"
164#undef MLPLengthEstimator_RECURSES
Aim: Computes the faithful polygon (FP) of a range of 4/8-connected 2D Points.
Aim: a model of CGlobalCurveEstimator that computes the length of a digital curve using its MLP (give...
FaithfulPolygon::RealVector Vector
Quantity eval(const ConstIterator &itb, const ConstIterator &ite, const double h=1.) const
MLPLengthEstimator & operator=(const MLPLengthEstimator &other)=delete
TConstIterator ConstIterator
void selfDisplay(std::ostream &out) const
FaithfulPolygon::RealPoint Point
FP< ConstIterator, int, 4 > FaithfulPolygon
~MLPLengthEstimator()=default
MLPLengthEstimator()=default
MLPLengthEstimator(const MLPLengthEstimator &other)=delete
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)