Aim: A model of CLocalCurveGeometricEstimator that assigns to each element of a (sub)range a quantity estimated from the most centered maximal segment passing through this element.
More...
|
| BOOST_CONCEPT_ASSERT ((concepts::CForwardSegmentComputer< SegmentComputer >)) |
|
| BOOST_CONCEPT_ASSERT ((concepts::CSegmentComputerEstimator< SCEstimator >)) |
|
| BOOST_STATIC_ASSERT ((boost::is_same< SegmentComputer, typename SCEstimator::SegmentComputer >::value)) |
|
| BOOST_CONCEPT_ASSERT ((concepts::CCurveLocalGeometricEstimator< SCEstimator >)) |
|
template<typename OutputIterator > |
OutputIterator | endEval (const ConstIterator &itb, const ConstIterator &ite, ConstIterator &itCurrent, SegmentIterator &first, SegmentIterator &last, OutputIterator result) |
|
template<typename OutputIterator > |
OutputIterator | endEval (const ConstIterator &, const ConstIterator &ite, ConstIterator &itCurrent, SegmentIterator &, SegmentIterator &last, OutputIterator result, IteratorType) |
|
template<typename OutputIterator > |
OutputIterator | endEval (const ConstIterator &itb, const ConstIterator &ite, ConstIterator &itCurrent, SegmentIterator &first, SegmentIterator &last, OutputIterator result, CirculatorType) |
|
| MostCenteredMaximalSegmentEstimator (const MostCenteredMaximalSegmentEstimator &other) |
|
MostCenteredMaximalSegmentEstimator & | operator= (const MostCenteredMaximalSegmentEstimator &other) |
|
template<typename
SegmentComputer, typename SCEstimator>
class DGtal::MostCenteredMaximalSegmentEstimator< SegmentComputer, SCEstimator >
Aim: A model of CLocalCurveGeometricEstimator that assigns to each element of a (sub)range a quantity estimated from the most centered maximal segment passing through this element.
Description of template class 'MostCenteredMaximalSegmentEstimator'
Here is a basic example of curvature estimation:
- 1. Construct an instance from a segment computer and a segment computer estimator
SCEstimator sce;
CurvatureEstimator estimator(sc, sce);
Aim: A model of CLocalCurveGeometricEstimator that assigns to each element of a (sub)range a quantity...
Aim: On-line recognition of a digital circular arcs (DCA) defined as a sequence of connected grid edg...
ArithmeticalDSSComputer< std::vector< Z2i::Point >::const_iterator, int, 4 > SegmentComputer
- 2. Initialize it with a range r and a grid step h
estimator.init( r.begin(), r.end() );
3. Get the estimations
estimator.eval( r.begin(), r.end(), std::back_inserter(estimations), h );
- Template Parameters
-
SegmentComputer | at least a model of CForwardSegmentComputer |
SCEstimator | a model of CSegmentComputerEstimator |
- See also
- testMostCenteredMSEstimator.cpp
-
exampleCurvature.cpp
-
SaturatedSegmentation.h
- Examples
- geometry/curves/estimation/exampleCurvature.cpp.
Definition at line 83 of file MostCenteredMaximalSegmentEstimator.h.