42 #include <visp/vpFeatureMoment.h>
43 #include <visp/vpMoment.h>
44 #include <visp/vpFeatureMomentDatabase.h>
45 #include <visp/vpMomentDatabase.h>
46 #include <visp/vpMath.h>
48 #include <visp/vpException.h>
49 #include <visp/vpMatrixException.h>
50 #include <visp/vpFeatureException.h>
52 #include <visp/vpDebug.h>
75 for(
unsigned int i=0;i<
dim_s;i++)
91 for(
unsigned int i=0;i<
dim_s;++i)
103 for(
unsigned int i=0;i<
dim_s;++i){
105 std::cout <<
s[i] <<
",";
109 std::cout << std::endl;
116 const vpColor &color,
unsigned int thickness)
const
129 const vpColor &color,
unsigned int thickness)
const
157 if(!found)
throw (
"Moment not found for feature");
166 for(
unsigned int i=0;i<
dim_s;i++)
197 for(
unsigned int i=0;i<
dim_s;++i){
222 for(
unsigned int i=0;i<
dim_s;i++)
223 feat->
s[i] = this->s[i];
226 for (
unsigned int i = 0; i < (
unsigned int)
nbParameters; i++)
241 featureMoments.add(*
this,
_name);