46 #ifndef vpMbtKltXmlParser_HH
47 #define vpMbtKltXmlParser_HH
49 #include <visp/vpConfig.h>
53 #include <libxml/xmlmemory.h>
55 #include <visp/vpXmlParser.h>
56 #include <visp/vpCameraParameters.h>
198 void parse(
const char * filename);
201 void read_camera (xmlDocPtr doc, xmlNodePtr node);
202 void read_klt(xmlDocPtr doc, xmlNodePtr node);
203 void read_face(xmlDocPtr doc, xmlNodePtr node);
unsigned int winSize
Windows size.
unsigned int getMaskBorder() const
void setQuality(const double &q)
double getHarrisParam() const
double minDist
Minimum distance between klt points.
unsigned int maskBorder
Border of the mask used on Klt points.
unsigned int getBlockSize() const
void getCameraParameters(vpCameraParameters &_cam) const
double angleAppear
Angle to determine if a face appeared.
double getAngleAppear() const
virtual void writeMainClass(xmlNodePtr node)=0
double getAngleDisappear() const
unsigned int getMaxFeatures() const
double harrisParam
Harris free parameters.
double angleDisappear
Angle to determine if a face disappeared.
unsigned int maxFeatures
Maximum of Klt features.
This class intends to simplify the creation of xml parser based on the libxml2 third party library...
void setCameraParameters(const vpCameraParameters &_cam)
void setPyramidLevels(const unsigned int &pL)
Parse an Xml file to extract configuration parameters of a Mbt Klt object.Data parser for the KLT mod...
unsigned int getWindowSize() const
void setWindowSize(const unsigned int &w)
unsigned int pyramidLevels
Number of pyramid levels.
Generic class defining intrinsic camera parameters.
virtual void readMainClass(xmlDocPtr doc, xmlNodePtr node)=0
void setAngleDisappear(const double &adisappear)
void setHarrisParam(const double &hp)
void setMinDistance(const double &mD)
void setAngleAppear(const double &aappear)
void setMaxFeatures(const unsigned int &mF)
unsigned int blockSize
Block size.
double getQuality() const
double qualityValue
Quality of the Klt points.
void setBlockSize(const unsigned int &bs)
double getMinDistance() const
vpCameraParameters cam
Camera parameters.
void setMaskBorder(const unsigned int &mb)
unsigned int getPyramidLevels() const
void parse(const std::string &filename)