![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpFeatureMoment.h>
Public Types | |
| enum | vpBasicFeatureSelect { FEATURE_ALL = 0xffff } |
| enum | vpBasicFeatureDeallocatorType { user , vpServo } |
Public Member Functions | |
| vpFeatureMoment (vpMomentDatabase &data_base, double A_=0.0, double B_=0.0, double C_=0.0, vpFeatureMomentDatabase *featureMoments=nullptr, unsigned int nbmatrices=1) | |
Static Public Attributes | |
| static const unsigned int | FEATURE_LINE [32] |
Protected Member Functions | |
| const vpMoment & | getMoment () const |
| vpFeatureMoment (const vpFeatureMoment &)=delete | |
| vpFeatureMoment & | operator= (const vpFeatureMoment &)=delete |
Protected Attributes | |
| const vpMoment * | moment |
| vpMomentDatabase & | moments |
| vpFeatureMomentDatabase * | featureMomentsDataBase |
| std::vector< vpMatrix > | interaction_matrices |
| double | A |
| double | B |
| double | C |
| std::string | m_name |
| vpColVector | s |
| unsigned int | dim_s |
| bool * | flags |
| unsigned int | nbParameters |
Inherited functionalities from vpBasicFeature | |
| vpBasicFeatureDeallocatorType | deallocate |
| void | resetFlags () |
| unsigned int | dimension_s () |
| virtual vpColVector | error (const vpBasicFeature &s_star, unsigned int select=FEATURE_ALL) |
| vpColVector | get_s (unsigned int select=FEATURE_ALL) const |
| vpBasicFeatureDeallocatorType | getDeallocate () |
| virtual double | operator[] (unsigned int i) const |
| void | setDeallocate (vpBasicFeatureDeallocatorType d) |
| void | setFlags () |
| static unsigned int | selectAll () |
Inherited functionalities from vpFeatureMoment | |
| virtual void | compute_interaction (void) |
| vpBasicFeature * | duplicate () const VP_OVERRIDE |
| void | display (const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) const VP_OVERRIDE |
| void | display (const vpCameraParameters &cam, const vpImage< vpRGBa > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) const VP_OVERRIDE |
| int | getDimension (unsigned int select=FEATURE_ALL) const |
| void | init (void) VP_OVERRIDE |
| vpMatrix | interaction (unsigned int select=FEATURE_ALL) VP_OVERRIDE |
| void | linkTo (vpFeatureMomentDatabase &featureMoments) |
| virtual const std::string | momentName () const =0 |
| virtual const std::string | name () const =0 |
| void | print (unsigned int select=FEATURE_ALL) const VP_OVERRIDE |
| virtual void | printDependencies (std::ostream &os) const |
| void | update (double A, double B, double C) |
| VISP_EXPORT std::ostream & | operator<< (std::ostream &os, const vpFeatureMoment &featM) |
This class defines shared system methods/attributes for 2D moment features but no functional code. It is used to compute interaction matrices for moment features.
While vpMoment-type classes do only compute moment values and can by used for almost anything, vpFeatureMoment-type classes are specifically designed for visual servoing. More importantly, a vpFeatureMoment is used to compute the interaction matrix associated to it's moment primitive.
This class is virtual and cannot be used directly. It defines the following characteristics common to all moment features:
Like vpMoment, vpFeatureMoment provides a vpFeatureMoment::update() method. But unlike vpMoment::update() which only acknowledges the new object, the vpFeatureMoment::update() acknowledges the new plane parameters AND computes the interaction matrices associated with the feature.
A vpFeatureMoment will be often part of a vpFeatureMomentDatabase in the same way a vpMoment is part of a vpMomentDatabase. This database is specified inside the vpFeatureMoment::vpFeatureMoment() constructor. As a result, a vpFeatureMoment will be able to access other vpFeatureMoments through this database.
A vpBasicFeature can be duplicated into a vpMomentGenericFeature. In that case, all data in the vpBasicFeature is copied but the feature's name is lost. For example if a vpFeatureMomentCInvariant is duplicated, the duplicate will be operational but could not be used in a vpFeatureMomentDatabase.
Note that you can use vpFeatureMoment to do visual servoing but it is not it's only purpose. You may compute your interaction matrices with vpFeatureMoment::update() and use them for any purpose.
Here is an example of how to use a vpFeatureMoment (in this case vpFeatureMomentBasic).
Definition at line 161 of file vpFeatureMoment.h.
|
inherited |
Indicates who should deallocate the feature.
| Enumerator | |
|---|---|
| user | |
| vpServo | |
Definition at line 86 of file vpBasicFeature.h.
|
inherited |
| Enumerator | |
|---|---|
| FEATURE_ALL | |
Definition at line 81 of file vpBasicFeature.h.
|
protecteddelete |
References vpFeatureMoment().
Referenced by duplicate(), name(), operator<<, operator=(), vpFeatureMoment(), vpFeatureMomentAlpha::vpFeatureMomentAlpha(), vpFeatureMomentArea::vpFeatureMomentArea(), vpFeatureMomentAreaNormalized::vpFeatureMomentAreaNormalized(), vpFeatureMomentBasic::vpFeatureMomentBasic(), vpFeatureMomentCentered::vpFeatureMomentCentered(), vpFeatureMomentCInvariant::vpFeatureMomentCInvariant(), vpFeatureMomentGravityCenter::vpFeatureMomentGravityCenter(), vpFeatureMomentGravityCenterNormalized::vpFeatureMomentGravityCenterNormalized(), and vpMomentGenericFeature::vpMomentGenericFeature().
|
inline |
Initializes the feature with information about the database of moment primitives, the object plane, feature database and matrix size.
| data_base | : Moment database. The database of moment primitives (first parameter) is mandatory. It is used to access different moment values later used to compute the final matrix. |
| A_ | : Plane coefficient in a |
| B_ | : Plane coefficient in a |
| C_ | : Plane coefficient in a |
| featureMoments | : Feature database |
| nbmatrices | : If you want to create a new vpFeatureMoment implementation, your feature will often have a matrix size of n lines. You can specify the number of lines by this parameter. |
Definition at line 212 of file vpFeatureMoment.h.
References A, B, C, featureMomentsDataBase, interaction_matrices, m_name, moment, moments, and vpBasicFeature::vpBasicFeature().
|
virtual |
Reimplemented in vpFeatureMomentAlpha, vpFeatureMomentArea, vpFeatureMomentAreaNormalized, vpFeatureMomentBasic, vpFeatureMomentCentered, vpFeatureMomentCInvariant, vpFeatureMomentGravityCenter, and vpFeatureMomentGravityCenterNormalized.
Definition at line 250 of file vpFeatureMoment.cpp.
Referenced by update().
|
inlineinherited |
Return the dimension of the feature vector
.
Definition at line 108 of file vpBasicFeature.h.
References dim_s.
|
virtual |
Not implemented since visual representation of a moment doesn't often make sense.
Implements vpBasicFeature.
Definition at line 110 of file vpFeatureMoment.cpp.
|
virtual |
Not implemented since visual representation of a moment doesn't often make sense.
Implements vpBasicFeature.
Definition at line 123 of file vpFeatureMoment.cpp.
|
virtual |
Duplicates the feature into a vpGenericFeature harbouring the same properties. The resulting feature is of vpMomentGenericFeature type. While it still can compute interaction matrices and has access to it's moment primitive, it has lost all precise information about its precise type and therefore cannot be used in a feature database.
Implements vpBasicFeature.
Definition at line 217 of file vpFeatureMoment.cpp.
References A, B, C, vpBasicFeature::dim_s, featureMomentsDataBase, vpBasicFeature::flags, interaction_matrices, moment, moments, vpBasicFeature::nbParameters, vpColVector::resize(), vpBasicFeature::s, vpBasicFeature::vpBasicFeature(), and vpFeatureMoment().
|
virtualinherited |
Compute the error between two visual features from a subset of the possible features.
Reimplemented in vpFeatureDepth, vpFeatureEllipse, vpFeatureLine, vpFeatureLuminance, vpFeatureLuminanceMapping, vpFeatureMomentAlpha, vpFeaturePoint3D, vpFeaturePoint, vpFeaturePointPolar, vpFeatureSegment, vpFeatureThetaU, vpFeatureTranslation, vpFeatureVanishingPoint, and vpGenericFeature.
Definition at line 150 of file vpBasicFeature.cpp.
References dim_s, FEATURE_LINE, get_s(), s, and vpBasicFeature().
Referenced by vpServo::computeError(), and init().
|
inherited |
Get the feature vector
.
Definition at line 113 of file vpBasicFeature.cpp.
References dim_s, FEATURE_LINE, and s.
Referenced by vpServo::computeError(), error(), vpFeatureDepth::error(), vpFeatureThetaU::error(), vpFeatureTranslation::error(), vpGenericFeature::error(), and init().
|
inlineinherited |
Definition at line 121 of file vpBasicFeature.h.
References deallocate.
| int vpFeatureMoment::getDimension | ( | unsigned int | select = FEATURE_ALL | ) | const |
Feature's dimension according to selection.
Definition at line 81 of file vpFeatureMoment.cpp.
References vpBasicFeature::dim_s, and vpBasicFeature::FEATURE_LINE.
Referenced by operator<<.
|
inlineprotected |
Definition at line 165 of file vpFeatureMoment.h.
References moment.
|
virtual |
Initialize common parameters for moment features.
Implements vpBasicFeature.
Definition at line 52 of file vpFeatureMoment.cpp.
References vpBasicFeature::dim_s, vpBasicFeature::flags, moment, vpBasicFeature::nbParameters, and vpBasicFeature::s.
|
virtual |
Retrieves the interaction matrix. No computation is done.
| select | : Feature selector. |
There is no rule about the format of the feature selector. It may be different for different features. For example, for vpFeatureMomentBasic or vpFeatureMomentCentered features, select may refer to the
couple in the
format, but for vpFeatureMomentCInvariant the selector allows to select couples
in the following format: 1 << i
Implements vpBasicFeature.
Definition at line 195 of file vpFeatureMoment.cpp.
References vpBasicFeature::dim_s, vpBasicFeature::FEATURE_LINE, and interaction_matrices.
Referenced by vpFeatureMomentCentered::compute_interaction().
| void vpFeatureMoment::linkTo | ( | vpFeatureMomentDatabase & | featureMoments | ) |
Links the feature to the feature's database.
| featureMoments | : database in which the moment features are stored. |
Definition at line 242 of file vpFeatureMoment.cpp.
References featureMomentsDataBase, m_name, and name().
|
pure virtual |
Name of the moment corresponding to the feature. This allows to locate the moment associated with the feature in the provided database.
Implemented in vpFeatureMomentAlpha, vpFeatureMomentArea, vpFeatureMomentAreaNormalized, vpFeatureMomentBasic, vpFeatureMomentCentered, vpFeatureMomentCInvariant, vpFeatureMomentGravityCenter, vpFeatureMomentGravityCenterNormalized, and vpMomentGenericFeature.
References momentName().
Referenced by momentName(), and update().
|
pure virtual |
Name of the feature used to locate it in the database of features.
Implemented in vpFeatureMomentAlpha, vpFeatureMomentArea, vpFeatureMomentAreaNormalized, vpFeatureMomentBasic, vpFeatureMomentCentered, vpFeatureMomentCInvariant, vpFeatureMomentGravityCenter, vpFeatureMomentGravityCenterNormalized, and vpMomentGenericFeature.
References A, B, C, vpBasicFeature::FEATURE_ALL, name(), print(), printDependencies(), update(), and vpFeatureMoment().
|
protecteddelete |
References vpFeatureMoment().
|
inlinevirtualinherited |
Return element i in the state vector (usage : x = s[i] ).
Definition at line 128 of file vpBasicFeature.h.
References s.
|
virtual |
Outputs the content of the feature: it's corresponding selected moments.
Implements vpBasicFeature.
Definition at line 95 of file vpFeatureMoment.cpp.
References vpBasicFeature::dim_s, vpBasicFeature::FEATURE_LINE, and vpBasicFeature::s.
Referenced by name().
|
virtual |
Interface function to display the moments and other interaction matrices on which a particular vpFeatureMoment is dependent upon Not made pure to maintain compatibility Recommended : Types inheriting from vpFeatureMoment should implement this function.
Definition at line 259 of file vpFeatureMoment.cpp.
Referenced by name().
|
protectedinherited |
Definition at line 130 of file vpBasicFeature.cpp.
References flags, and nbParameters.
Referenced by vpFeatureDepth::interaction(), vpFeatureEllipse::interaction(), vpFeatureLine::interaction(), vpFeaturePoint3D::interaction(), vpFeaturePoint::interaction(), vpFeaturePointPolar::interaction(), vpFeatureThetaU::interaction(), vpFeatureTranslation::interaction(), and vpFeatureVanishingPoint::interaction().
|
inlinestaticinherited |
Select all the features.
Definition at line 140 of file vpBasicFeature.h.
References FEATURE_ALL.
|
inlineinherited |
Definition at line 135 of file vpBasicFeature.h.
References deallocate.
Referenced by vpServo::addFeature().
|
inherited |
Set feature flags to true to prevent warning when re-computing the interaction matrix without having updated the feature.
Definition at line 140 of file vpBasicFeature.cpp.
References flags, and nbParameters.
| void vpFeatureMoment::update | ( | double | A_, |
| double | B_, | ||
| double | C_ ) |
Updates the interaction matrices with the image plane the camera is facing. The plane must be in the format:
. The moment primitives MUST be updated before calling this function.
This method also computes the interaction matrix. Therefore, you must call vpFeatureMoment::update before calling vpFeatureMoment::interaction.
| A_ | : A coefficient of the plane. |
| B_ | : B coefficient of the plane. |
| C_ | : C coefficient of the plane. |
Definition at line 148 of file vpFeatureMoment.cpp.
References A, B, C, compute_interaction(), vpBasicFeature::dim_s, vpBasicFeature::flags, moment, momentName(), moments, vpBasicFeature::nbParameters, vpException::notInitialized, and vpBasicFeature::s.
Referenced by name().
|
friend |
Definition at line 267 of file vpFeatureMoment.cpp.
References vpBasicFeature::FEATURE_ALL, getDimension(), vpBasicFeature::interaction(), vpMatrix::matlabPrint(), operator<<, and vpFeatureMoment().
Referenced by operator<<.
|
protected |
Definition at line 170 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentAlpha::compute_interaction(), vpFeatureMomentArea::compute_interaction(), vpFeatureMomentAreaNormalized::compute_interaction(), vpFeatureMomentBasic::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentGravityCenter::compute_interaction(), vpFeatureMomentGravityCenterNormalized::compute_interaction(), duplicate(), name(), update(), and vpFeatureMoment().
|
protected |
Definition at line 171 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentAlpha::compute_interaction(), vpFeatureMomentArea::compute_interaction(), vpFeatureMomentAreaNormalized::compute_interaction(), vpFeatureMomentBasic::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentGravityCenter::compute_interaction(), vpFeatureMomentGravityCenterNormalized::compute_interaction(), duplicate(), name(), update(), and vpFeatureMoment().
|
protected |
Definition at line 172 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentArea::compute_interaction(), vpFeatureMomentAreaNormalized::compute_interaction(), vpFeatureMomentBasic::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentGravityCenter::compute_interaction(), vpFeatureMomentGravityCenterNormalized::compute_interaction(), duplicate(), name(), update(), and vpFeatureMoment().
|
protectedinherited |
Definition at line 146 of file vpBasicFeature.h.
Referenced by getDeallocate(), vpFeatureDepth::interaction(), vpFeatureEllipse::interaction(), vpFeatureLine::interaction(), vpFeaturePoint3D::interaction(), vpFeaturePoint::interaction(), vpFeaturePointPolar::interaction(), vpFeatureSegment::interaction(), vpFeatureThetaU::interaction(), vpFeatureTranslation::interaction(), vpFeatureVanishingPoint::interaction(), operator=(), setDeallocate(), vpBasicFeature(), and vpBasicFeature().
|
protectedinherited |
Dimension of the visual feature.
Definition at line 92 of file vpBasicFeature.h.
Referenced by dimension_s(), vpFeatureMoment::duplicate(), vpGenericFeature::duplicate(), error(), vpFeatureLuminance::error(), vpFeatureLuminanceMapping::error(), vpFeatureLuminanceMapping::error(), vpGenericFeature::error(), vpGenericFeature::error(), get_s(), vpGenericFeature::get_s(), vpGenericFeature::get_s(), vpGenericFeature::get_s(), vpGenericFeature::get_s(), getDimension(), vpFeatureMoment::getDimension(), vpFeatureDepth::init(), vpFeatureEllipse::init(), vpFeatureLine::init(), vpFeatureLuminance::init(), vpFeatureLuminanceMapping::init(), vpFeatureLuminanceMapping::init(), vpFeatureLuminanceMapping::init(), vpFeatureMoment::init(), vpFeaturePoint3D::init(), vpFeaturePoint::init(), vpFeaturePointPolar::init(), vpFeatureSegment::init(), vpFeatureThetaU::init(), vpFeatureTranslation::init(), vpFeatureVanishingPoint::init(), vpFeatureLuminance::interaction(), vpFeatureLuminanceMapping::interaction(), vpFeatureLuminanceMapping::interaction(), vpFeatureMoment::interaction(), vpGenericFeature::interaction(), operator=(), vpFeatureLuminance::operator=(), vpFeatureLuminanceMapping::operator=(), vpFeatureMoment::print(), vpGenericFeature::print(), vpGenericFeature::set_s(), vpGenericFeature::set_s(), vpGenericFeature::set_s(), vpGenericFeature::set_s(), vpGenericFeature::setError(), vpGenericFeature::setInteractionMatrix(), vpFeatureMoment::update(), vpBasicFeature(), vpBasicFeature(), vpFeatureLuminance::vpFeatureLuminance(), and vpGenericFeature::vpGenericFeature().
|
staticinherited |
Definition at line 45 of file vpBasicFeature.h.
Referenced by error(), vpGenericFeature::error(), vpGenericFeature::error(), get_s(), getDimension(), vpFeatureMoment::getDimension(), vpFeatureMoment::interaction(), vpGenericFeature::interaction(), vpFeatureMoment::print(), vpGenericFeature::print(), vpFeatureEllipse::select_n02(), vpFeatureEllipse::select_n11(), vpFeatureEllipse::select_n20(), vpFeatureSegment::selectAlpha(), vpFeatureVanishingPoint::selectAlpha(), vpFeatureVanishingPoint::selectAtanOneOverRho(), vpFeatureSegment::selectL(), vpFeatureEllipse::selectMu02(), vpFeatureEllipse::selectMu11(), vpFeatureEllipse::selectMu20(), vpFeatureVanishingPoint::selectOneOverRho(), vpFeatureLine::selectRho(), vpFeaturePointPolar::selectRho(), vpFeatureLine::selectTheta(), vpFeaturePointPolar::selectTheta(), vpFeatureThetaU::selectTUx(), vpFeatureThetaU::selectTUy(), vpFeatureThetaU::selectTUz(), vpFeatureTranslation::selectTx(), vpFeatureTranslation::selectTy(), vpFeatureTranslation::selectTz(), vpFeatureEllipse::selectX(), vpFeaturePoint3D::selectX(), vpFeaturePoint::selectX(), vpFeatureVanishingPoint::selectX(), vpFeatureSegment::selectXc(), vpFeatureEllipse::selectY(), vpFeaturePoint3D::selectY(), vpFeaturePoint::selectY(), vpFeatureVanishingPoint::selectY(), vpFeatureSegment::selectYc(), and vpFeaturePoint3D::selectZ().
|
protected |
Definition at line 167 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentArea::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentCInvariant::compute_interaction(), duplicate(), linkTo(), and vpFeatureMoment().
|
protectedinherited |
Ensure that all the parameters needed to compute the interaction matrix are set.
Definition at line 96 of file vpBasicFeature.h.
Referenced by vpFeatureDepth::buildFrom(), vpFeatureEllipse::buildFrom(), vpFeatureEllipse::buildFrom(), vpFeatureLine::buildFrom(), vpFeatureLine::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePoint::buildFrom(), vpFeaturePointPolar::buildFrom(), vpFeatureThetaU::buildFrom(), vpFeatureTranslation::buildFrom(), vpFeatureMoment::duplicate(), vpFeatureDepth::init(), vpFeatureEllipse::init(), vpFeatureLine::init(), vpFeatureLuminance::init(), vpFeatureMoment::init(), vpFeaturePoint3D::init(), vpFeaturePoint::init(), vpFeaturePointPolar::init(), vpFeatureSegment::init(), vpFeatureThetaU::init(), vpFeatureTranslation::init(), vpFeatureVanishingPoint::init(), vpFeatureDepth::interaction(), vpFeatureEllipse::interaction(), vpFeatureLine::interaction(), vpFeaturePoint3D::interaction(), vpFeaturePoint::interaction(), vpFeaturePointPolar::interaction(), vpFeatureSegment::interaction(), vpFeatureThetaU::interaction(), vpFeatureTranslation::interaction(), vpFeatureVanishingPoint::interaction(), operator=(), resetFlags(), vpFeaturePointPolar::set_rho(), vpFeaturePointPolar::set_rhoThetaZ(), vpFeaturePointPolar::set_theta(), vpFeatureThetaU::set_TUx(), vpFeatureThetaU::set_TUy(), vpFeatureThetaU::set_TUz(), vpFeaturePoint3D::set_X(), vpFeatureDepth::set_x(), vpFeatureEllipse::set_x(), vpFeaturePoint::set_x(), vpFeatureVanishingPoint::set_x(), vpFeatureEllipse::set_xy(), vpFeaturePoint3D::set_XYZ(), vpFeaturePoint::set_xyZ(), vpFeatureDepth::set_xyZLogZoverZstar(), vpFeaturePoint3D::set_Y(), vpFeatureDepth::set_y(), vpFeatureEllipse::set_y(), vpFeaturePoint::set_y(), vpFeatureVanishingPoint::set_y(), vpFeatureDepth::set_Z(), vpFeatureLuminance::set_Z(), vpFeaturePoint3D::set_Z(), vpFeaturePoint::set_Z(), vpFeaturePointPolar::set_Z(), vpFeatureEllipse::setABC(), vpFeatureLine::setABCD(), vpFeatureSegment::setAlpha(), vpFeatureVanishingPoint::setAlpha(), vpFeatureVanishingPoint::setAtanOneOverRho(), setFlags(), vpFeatureSegment::setL(), vpFeatureEllipse::setMoments(), vpFeatureVanishingPoint::setOneOverRho(), vpFeatureLine::setRhoTheta(), vpFeatureSegment::setXc(), vpFeatureSegment::setYc(), vpFeatureSegment::setZ1(), vpFeatureSegment::setZ2(), vpFeatureMoment::update(), vpBasicFeature(), vpBasicFeature(), vpFeatureLuminance::vpFeatureLuminance(), and ~vpBasicFeature().
|
protected |
Definition at line 168 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentAlpha::compute_interaction(), vpFeatureMomentArea::compute_interaction(), vpFeatureMomentAreaNormalized::compute_interaction(), vpFeatureMomentBasic::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentCInvariant::compute_interaction(), vpFeatureMomentGravityCenter::compute_interaction(), vpFeatureMomentGravityCenterNormalized::compute_interaction(), duplicate(), interaction(), vpFeatureMomentBasic::interaction(), vpFeatureMomentCentered::interaction(), vpFeatureMomentCInvariant::operator<<, and vpFeatureMoment().
|
protected |
Definition at line 173 of file vpFeatureMoment.h.
Referenced by linkTo(), and vpFeatureMoment().
|
protected |
Definition at line 164 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentAlpha::compute_interaction(), vpFeatureMomentArea::compute_interaction(), vpFeatureMomentAreaNormalized::compute_interaction(), vpFeatureMomentBasic::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentCInvariant::compute_interaction(), vpFeatureMomentGravityCenter::compute_interaction(), vpFeatureMomentGravityCenterNormalized::compute_interaction(), duplicate(), getMoment(), init(), vpFeatureMomentBasic::interaction(), vpFeatureMomentCentered::interaction(), update(), and vpFeatureMoment().
|
protected |
Definition at line 166 of file vpFeatureMoment.h.
Referenced by vpFeatureMomentAlpha::compute_interaction(), vpFeatureMomentArea::compute_interaction(), vpFeatureMomentAreaNormalized::compute_interaction(), vpFeatureMomentCentered::compute_interaction(), vpFeatureMomentCInvariant::compute_interaction(), vpFeatureMomentGravityCenter::compute_interaction(), vpFeatureMomentGravityCenterNormalized::compute_interaction(), duplicate(), update(), and vpFeatureMoment().
|
protectedinherited |
Number of parameters needed to compute the interaction matrix.
Definition at line 98 of file vpBasicFeature.h.
Referenced by vpFeatureDepth::buildFrom(), vpFeatureEllipse::buildFrom(), vpFeatureLine::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePoint::buildFrom(), vpFeaturePointPolar::buildFrom(), vpFeatureThetaU::buildFrom(), vpFeatureMoment::duplicate(), vpFeatureDepth::init(), vpFeatureEllipse::init(), vpFeatureLine::init(), vpFeatureLuminance::init(), vpFeatureMoment::init(), vpFeaturePoint3D::init(), vpFeaturePoint::init(), vpFeaturePointPolar::init(), vpFeatureSegment::init(), vpFeatureThetaU::init(), vpFeatureTranslation::init(), vpFeatureVanishingPoint::init(), vpFeatureDepth::interaction(), vpFeatureEllipse::interaction(), vpFeatureLine::interaction(), vpFeaturePoint3D::interaction(), vpFeaturePoint::interaction(), vpFeaturePointPolar::interaction(), vpFeatureSegment::interaction(), vpFeatureThetaU::interaction(), vpFeatureTranslation::interaction(), vpFeatureVanishingPoint::interaction(), operator=(), resetFlags(), vpFeaturePointPolar::set_rhoThetaZ(), vpFeaturePoint3D::set_XYZ(), vpFeaturePoint::set_xyZ(), vpFeatureDepth::set_xyZLogZoverZstar(), vpFeatureEllipse::setABC(), vpFeatureLine::setABCD(), setFlags(), vpFeatureMoment::update(), vpBasicFeature(), vpBasicFeature(), and vpFeatureLuminance::vpFeatureLuminance().
|
protectedinherited |
State of the visual feature.
Definition at line 90 of file vpBasicFeature.h.
Referenced by vpFeatureDepth::buildFrom(), vpFeatureEllipse::buildFrom(), vpFeatureEllipse::buildFrom(), vpFeatureLine::buildFrom(), vpFeatureLine::buildFrom(), vpFeatureLuminance::buildFrom(), vpFeatureLuminanceMapping::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePoint::buildFrom(), vpFeaturePointPolar::buildFrom(), vpFeatureThetaU::buildFrom(), vpFeatureTranslation::buildFrom(), vpFeatureEllipse::display(), vpFeatureEllipse::display(), vpFeatureMoment::duplicate(), error(), vpFeatureDepth::error(), vpFeatureEllipse::error(), vpFeatureLine::error(), vpFeatureLuminance::error(), vpFeatureLuminanceMapping::error(), vpFeatureMomentAlpha::error(), vpFeaturePoint3D::error(), vpFeaturePoint::error(), vpFeaturePointPolar::error(), vpFeatureThetaU::error(), vpFeatureTranslation::error(), vpFeatureVanishingPoint::error(), vpGenericFeature::error(), vpGenericFeature::error(), vpFeatureDepth::get_LogZoverZstar(), vpFeatureEllipse::get_n02(), vpFeatureEllipse::get_n11(), vpFeatureEllipse::get_n20(), vpFeaturePointPolar::get_rho(), get_s(), vpGenericFeature::get_s(), vpGenericFeature::get_s(), vpGenericFeature::get_s(), vpGenericFeature::get_s(), vpFeaturePointPolar::get_theta(), vpFeatureThetaU::get_TUx(), vpFeatureThetaU::get_TUy(), vpFeatureThetaU::get_TUz(), vpFeatureTranslation::get_Tx(), vpFeatureTranslation::get_Ty(), vpFeatureTranslation::get_Tz(), vpFeaturePoint3D::get_X(), vpFeatureEllipse::get_x(), vpFeaturePoint::get_x(), vpFeatureVanishingPoint::get_x(), vpFeaturePoint3D::get_Y(), vpFeatureEllipse::get_y(), vpFeaturePoint::get_y(), vpFeatureVanishingPoint::get_y(), vpFeaturePoint3D::get_Z(), vpFeatureSegment::getAlpha(), vpFeatureVanishingPoint::getAlpha(), vpFeatureVanishingPoint::getAtanOneOverRho(), getDimension(), vpFeatureSegment::getL(), vpFeatureEllipse::getMu02(), vpFeatureEllipse::getMu11(), vpFeatureEllipse::getMu20(), vpFeatureVanishingPoint::getOneOverRho(), vpFeatureLine::getRho(), vpFeatureLine::getTheta(), vpFeatureSegment::getXc(), vpFeatureSegment::getYc(), vpFeatureDepth::init(), vpFeatureEllipse::init(), vpFeatureLine::init(), vpFeatureLuminance::init(), vpFeatureLuminanceMapping::init(), vpFeatureLuminanceMapping::init(), vpFeatureMoment::init(), vpFeaturePoint3D::init(), vpFeaturePoint::init(), vpFeaturePointPolar::init(), vpFeatureSegment::init(), vpFeatureThetaU::init(), vpFeatureTranslation::init(), vpFeatureVanishingPoint::init(), vpGenericFeature::init(), vpFeatureEllipse::interaction(), vpFeatureLine::interaction(), vpFeatureLuminanceMapping::interaction(), vpFeatureThetaU::interaction(), vpFeatureTranslation::interaction(), operator=(), vpFeatureLuminance::operator=(), vpFeatureLuminanceMapping::operator=(), operator[](), vpFeatureEllipse::print(), vpFeatureLine::print(), vpFeatureLuminanceMapping::print(), vpFeatureMoment::print(), vpFeatureSegment::print(), vpFeatureThetaU::print(), vpFeatureTranslation::print(), vpGenericFeature::print(), vpFeatureDepth::set_LogZoverZstar(), vpFeaturePointPolar::set_rho(), vpGenericFeature::set_s(), vpGenericFeature::set_s(), vpGenericFeature::set_s(), vpGenericFeature::set_s(), vpFeaturePointPolar::set_theta(), vpFeatureThetaU::set_TUx(), vpFeatureThetaU::set_TUy(), vpFeatureThetaU::set_TUz(), vpFeatureTranslation::set_Tx(), vpFeatureTranslation::set_Ty(), vpFeatureTranslation::set_Tz(), vpFeaturePoint3D::set_X(), vpFeatureEllipse::set_x(), vpFeaturePoint::set_x(), vpFeatureVanishingPoint::set_x(), vpFeatureEllipse::set_xy(), vpFeaturePoint3D::set_Y(), vpFeatureEllipse::set_y(), vpFeaturePoint::set_y(), vpFeatureVanishingPoint::set_y(), vpFeaturePoint3D::set_Z(), vpFeatureSegment::setAlpha(), vpFeatureVanishingPoint::setAlpha(), vpFeatureVanishingPoint::setAtanOneOverRho(), vpFeatureSegment::setL(), vpFeatureEllipse::setMoments(), vpFeatureVanishingPoint::setOneOverRho(), vpFeatureLine::setRhoTheta(), vpFeatureSegment::setXc(), vpFeatureSegment::setYc(), vpFeatureMoment::update(), vpBasicFeature(), vpBasicFeature(), and vpGenericFeature::vpGenericFeature().