DGtal
0.6.devel
|
#include <SegmentComputerEstimators.h>
Public Member Functions | |
CurvatureFromDSSLengthEstimator () | |
CurvatureFromDSSLengthEstimator (const CurvatureFromDSSLengthEstimator &other) | |
![]() | |
BOOST_CONCEPT_ASSERT ((CUnaryFunctor< detail::CurvatureFromDSSLength, SegmentComputer, Quantity >)) | |
CurvatureFromDSSBaseEstimator () | |
CurvatureFromDSSBaseEstimator (const CurvatureFromDSSBaseEstimator &other) | |
CurvatureFromDSSBaseEstimator & | operator= (const CurvatureFromDSSBaseEstimator &other) |
~CurvatureFromDSSBaseEstimator () | |
bool | isValid () const |
void | init (const double h, const ConstIterator &itb, const ConstIterator &ite) |
Quantity | eval (const ConstIterator &it) |
OutputIterator | eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result) |
void | attach (const SegmentComputer &aSC) |
Private Types | |
typedef detail::CurvatureFromDSSBaseEstimator < DSSComputer, detail::CurvatureFromDSSLength > | Super |
Additional Inherited Members | |
![]() | |
typedef DSSComputer | SegmentComputer |
typedef DSSComputer::ConstIterator | ConstIterator |
typedef double | Quantity |
![]() | |
double | myH |
ConstIterator | myBegin |
ConstIterator | myEnd |
const SegmentComputer * | mySCPtr |
detail::CurvatureFromDSSLength | myFunctor |
Description of class 'CurvatureFromDSSLengthEstimator' <p> Aim: estimates the curvature from a DSS recognized by a segment computer. The curvature \form#259 is defined from the discrete length \form#4 of a DSS as follow:
\( 1/k = l*l/8 + 1/2 \)
@note Adaption from Coeurjolly, D. and Miguet, S. and Tougne, L. "Discrete Curvature Based on Osculating Circle Estimation", Proc. IWVF, LNCS, vol 2059, pp.303-312, 2001 In this approach, the DSS is viewed as the chord at a distance h (the grid step) to the osculating circle. Unfortunately, maximal DSS are in general too short. @tparam DSSComputer a model of segment computer devoted the DSS recognition
Definition at line 1561 of file SegmentComputerEstimators.h.
|
private |
Definition at line 1565 of file SegmentComputerEstimators.h.
|
inline |
|
inline |
Copy constructor.
other | the object to clone. |
Definition at line 1576 of file SegmentComputerEstimators.h.