42 #include <visp/vpFeatureMomentCommon.h>
43 #include <visp/vpMomentDatabase.h>
53 featureGravity(moments,A,B,C),
54 featureGravityNormalized(moments,A,B,C),
55 featureAn(moments,A,B,C),
56 featureCInvariant(moments,A,B,C),
57 featureAlpha(moments,A,B,C),
58 featureCentered(moments,A,B,C),
59 featureMomentBasic(moments,A,B,C),
60 feature_moment_area(moments,A,B,C)
63 featureGravity.
linkTo(*
this);
64 featureGravityNormalized.
linkTo(*
this);
66 featureCInvariant.
linkTo(*
this);
67 featureAlpha.
linkTo(*
this);
68 featureMomentBasic.
linkTo(*
this);
69 featureCentered.
linkTo(*
this);
70 feature_moment_area.
linkTo(*
this);
80 featureMomentBasic.
update(A,B,C);
81 featureGravity.
update(A,B,C);
82 featureCentered.
update(A,B,C);
84 featureGravityNormalized.
update(A,B,C);
85 featureCInvariant.
update(A,B,C);
86 featureAlpha.
update(A,B,C);
87 feature_moment_area.
update(A,B,C);
void linkTo(vpFeatureMomentDatabase &featureMoments)
void updateAll(double A, double B, double C)
This class allows to register all vpMoments so they can access each other according to their dependen...
vpFeatureMomentCommon(vpMomentDatabase &moments, double A=0.0, double B=0.0, double C=1.0)
void update(double A, double B, double C)