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);
78 os <<
"Area a:" << m.
values[0];
vpMomentObject & getObject() const
vpMomentDatabase & getMoments()
double get(unsigned int i, unsigned int j)
error that can be emited by ViSP classes.
Class handling the surface moment.
vpMoment & get(const char *type, bool &found)
This class defines shared methods/attributes for 2D moments.
std::vector< double > & get()
This class defines the double-indexed centered moment descriptor .
VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpImagePoint &ip)
std::vector< double > values