DGtal 1.4.0
|
#include <DGtal/geometry/curves/estimation/LambdaMST3DBy2D.h>
Public Types | |
typedef PointVector< 3, double > | RealVector3D |
typedef PointVector< 3, int > | Point3D |
typedef PointVector< 2, int > | Point2D |
typedef PointVector< 2, double > | RealVector2D |
typedef std::vector< Point2D > | TCurve2D |
typedef ArithmeticalDSSComputer< typename TCurve2D::const_iterator, int, CONNECTIVITY > | SegmentComputer2D |
typedef SaturatedSegmentation< SegmentComputer2D > | Segmentation2D |
typedef Functor::MAIN_AXIS | MAIN_AXIS |
Public Member Functions | |
LambdaMST3DBy2DEstimator () | |
void | init (Iterator3D itB, Iterator3D itE, MAIN_AXIS axis) |
bool | isValid () const |
RealVector3D | eval (const Point3D &point) |
template<typename OutputIterator > | |
OutputIterator | eval (Iterator3D itb, Iterator3D ite, OutputIterator result) |
Protected Member Functions | |
RealVector2D | Estimate2DTangent (TCurve2D::const_iterator itb, TCurve2D::const_iterator ite, const Point2D &point) |
template<typename OutputIterator > | |
OutputIterator | Estimate2DTangent (TCurve2D::const_iterator itb, TCurve2D::const_iterator ite, OutputIterator result) |
Private Types | |
typedef LambdaMST2D< Segmentation2D, LambdaFunctor > | TEstimator |
typedef functors::Projector< SpaceND< 2, int > > | Projector2d |
Private Attributes | |
Iterator3D | myBegin |
Iterator3D | myEnd |
Functor | myFunctor |
MAIN_AXIS | myAxis |
TCurve2D | tXY |
TCurve2D | tXZ |
TCurve2D | tYZ |
Projector2d | myProjXY |
projectors | |
Projector2d | myProjXZ |
Projector2d | myProjYZ |
Aim: Implement 3D Lambda MST tangent estimators. This class is a model of CCurveLocalGeometricEstimator.
Iterator3D | iterator over a sequence of 3D integer points |
Functor | a functor that constructs 3D tangent vector from two 2D projections |
LambdaFunctor | model of CLMSTTangentFrom2DSS |
CONNECTIVITY | connectivity for the projected curves used by 2D Lambda estimators. Note that, for now this value cannot be set per projection |
Definition at line 62 of file LambdaMST3DBy2D.h.
typedef Functor::MAIN_AXIS DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::MAIN_AXIS |
Definition at line 74 of file LambdaMST3DBy2D.h.
typedef PointVector< 2, int > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::Point2D |
Definition at line 69 of file LambdaMST3DBy2D.h.
typedef PointVector< 3, int > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::Point3D |
Definition at line 68 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 79 of file LambdaMST3DBy2D.h.
typedef PointVector< 2, double > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::RealVector2D |
Definition at line 70 of file LambdaMST3DBy2D.h.
typedef PointVector< 3, double > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::RealVector3D |
Definition at line 67 of file LambdaMST3DBy2D.h.
typedef SaturatedSegmentation< SegmentComputer2D > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::Segmentation2D |
Definition at line 73 of file LambdaMST3DBy2D.h.
typedef ArithmeticalDSSComputer< typename TCurve2D::const_iterator, int, CONNECTIVITY > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::SegmentComputer2D |
Definition at line 72 of file LambdaMST3DBy2D.h.
typedef std::vector< Point2D > DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::TCurve2D |
Definition at line 71 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 78 of file LambdaMST3DBy2D.h.
DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::LambdaMST3DBy2DEstimator | ( | ) |
|
protected |
|
protected |
RealVector3D DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::eval | ( | const Point3D & | point | ) |
point | to calculate A and B for it |
OutputIterator DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::eval | ( | Iterator3D | itb, |
Iterator3D | ite, | ||
OutputIterator | result ) |
OutputIterator | writable iterator. A way to compute tangent for points in a range. NOTE: In contrary to LambdaMST3D::eval() this method is NOT faster than calling eval (const Point &) for each points in a range. In fact, eval ( const Point & ) is internally called. |
itb | begin iterator |
ite | end iterator |
result | writable iterator over a container which stores estimated tangent directions. |
void DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::init | ( | Iterator3D | itB, |
Iterator3D | itE, | ||
MAIN_AXIS | axis ) |
Initialisation.
itB | begin iterator |
itE | end iterator |
axis | the main axis of the functional 3D curve |
bool DGtal::LambdaMST3DBy2DEstimator< Iterator3D, Functor, LambdaFunctor, CONNECTIVITY >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Definition at line 129 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 126 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 127 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 128 of file LambdaMST3DBy2D.h.
|
private |
projectors
Definition at line 132 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 132 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 132 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 130 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 130 of file LambdaMST3DBy2D.h.
|
private |
Definition at line 130 of file LambdaMST3DBy2D.h.