VAT  3.0
Video Analysis Tool
Public Member Functions | Public Attributes | List of all members
FiveLink2DBodyModel Class Reference

Public Member Functions

 FiveLink2DBodyModel (int id_p)
 
void drawModel (cv::Mat &img, bool paintExModel=true, int part=TORSO)
 
void saveModel ()
 
bool initModel (cv::Rect roi, bool extPar, int w, int h)
 
void setId (unsigned int index)
 
bool torsoModelPoints (double height, double width)
 
bool thighsModelPoints (double height)
 
bool calvesModelPoints (double height)
 
bool headModelPoints (double height)
 
void setModelRectangle (cv::Point2f center, cv::Size2f size, float angle, int part)
 
cv::Mat getDatasetOfModel ()
 
bool initOKAll ()
 
void printModelRectangleInfo (int part)
 

Public Attributes

int id
 
baseModel Mb
 
cv::Rect M
 
std::vector< cv::RotatedRect > modelRectangles
 
std::vector< bool > initOK
 
double constExtModel
 
double torsoPropLF
 
double torsoPropLD
 
double beta
 
double alpha
 
double gama
 
std::vector< int > associatedObj
 
double par_Mm_i
 
double par_Ou_i
 
double costThreshold
 
double ratio_Torso_height
 
double ratio_Torso_width
 
double ratio_Limbs_height
 
double ratio_Limbs_width
 
double ratio_Head_height
 
double ratio_Head_width
 
double relativePos_LimbsTorso
 
double init_angleHead
 
double init_angleTorso
 
double init_angleLimbsTopLeft
 
double init_angleLimbsTopRight
 
double init_angleLimbsBottomLeft
 
double init_angleLimbsBottomRight
 
cv::Point2f centerROI
 

The documentation for this class was generated from the following files: