DGtal 1.3.0
|
#include <DGtal/geometry/curves/estimation/SegmentComputerEstimators.h>
Public Member Functions | |
CurvatureFromDSSLengthEstimator () | |
CurvatureFromDSSLengthEstimator (const CurvatureFromDSSLengthEstimator &other) | |
Public Member Functions inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLength > | |
BOOST_CONCEPT_ASSERT ((concepts::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 &) |
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 | |
Public Types inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLength > | |
typedef DSSComputer | SegmentComputer |
typedef DSSComputer::ConstIterator | ConstIterator |
typedef double | Quantity |
Data Fields inherited from DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLength > | |
double | myH |
ConstIterator | myBegin |
ConstIterator | myEnd |
const SegmentComputer * | mySCPtr |
detail::CurvatureFromDSSLength | myFunctor |
Description of class 'CurvatureFromDSSLengthEstimator'
Aim: estimates the curvature from a DSS recognized by a segment computer.
The curvature \( k \) is defined from the discrete length \( l \) of a DSS as follow: \( 1/k = l*l/8 + 1/2 \)
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.
DSSComputer | a model of segment computer devoted the DSS recognition |
Definition at line 1548 of file SegmentComputerEstimators.h.
|
private |
Definition at line 1552 of file SegmentComputerEstimators.h.
|
inline |
Default Constructor.
Definition at line 1558 of file SegmentComputerEstimators.h.
|
inline |
Copy constructor.
other | the object to clone. |
Definition at line 1563 of file SegmentComputerEstimators.h.