41 #include <visp/vpMomentArea.h>
42 #include <visp/vpMomentObject.h>
43 #include <visp/vpMomentCentered.h>
44 #include <visp/vpMomentDatabase.h>
54 bool found_moment_centered;
60 values[0] = momentCentered.
get(2,0) + momentCentered.
get(0,2);
77 VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMomentArea& m){
78 os <<
"Area a:" << m.
values[0];
vpMomentDatabase & getMoments()
error that can be emited by ViSP classes.
const std::vector< double > & get() const
Class handling the surface moment.
This class defines shared methods/attributes for 2D moments.
const vpMoment & get(const char *type, bool &found) const
This class defines the double-indexed centered moment descriptor .
double get(unsigned int i, unsigned int j) const
const vpMomentObject & getObject() const
std::vector< double > values