Public Member Functions | |
ArmModel () | |
float | distanceToArm (cv::Point2f p, cv::Mat &depth_frame) |
float | distanceToArm (cv::Point2f p, std::vector< cv::Point > &chain, cv::Mat &depth_frame) |
std::vector< cv::Point > | operator[] (unsigned int i) |
float | pointLineDistance (cv::Point2f p, cv::Point2f l0, cv::Point2f l1, cv::Mat &depth_frame) |
float | pointPointDistance (cv::Point2f &p, cv::Point2f &q, cv::Mat &depth_frame) |
unsigned int | size () |
Public Attributes | |
std::vector< cv::Point > | arms |
std::vector< cv::Point > | hands |
bool | l_arm_on |
std::vector< cv::Point > | l_chain |
bool | l_hand_on |
bool | r_arm_on |
std::vector< cv::Point > | r_chain |
bool | r_hand_on |
Definition at line 19 of file motion_graphcut.cpp.
ArmModel::ArmModel | ( | ) | [inline] |
Definition at line 22 of file motion_graphcut.cpp.
float ArmModel::distanceToArm | ( | cv::Point2f | p, |
cv::Mat & | depth_frame | ||
) | [inline] |
Return the distance to the closest point on the arm from an image point p
p | The point in the image |
Definition at line 53 of file motion_graphcut.cpp.
float ArmModel::distanceToArm | ( | cv::Point2f | p, |
std::vector< cv::Point > & | chain, | ||
cv::Mat & | depth_frame | ||
) | [inline] |
Definition at line 69 of file motion_graphcut.cpp.
std::vector<cv::Point> ArmModel::operator[] | ( | unsigned int | i | ) | [inline] |
Definition at line 33 of file motion_graphcut.cpp.
float ArmModel::pointLineDistance | ( | cv::Point2f | p, |
cv::Point2f | l0, | ||
cv::Point2f | l1, | ||
cv::Mat & | depth_frame | ||
) | [inline] |
Definition at line 86 of file motion_graphcut.cpp.
float ArmModel::pointPointDistance | ( | cv::Point2f & | p, |
cv::Point2f & | q, | ||
cv::Mat & | depth_frame | ||
) | [inline] |
Definition at line 138 of file motion_graphcut.cpp.
unsigned int ArmModel::size | ( | ) | [inline] |
Definition at line 28 of file motion_graphcut.cpp.
Definition at line 151 of file motion_graphcut.cpp.
Definition at line 150 of file motion_graphcut.cpp.
Definition at line 156 of file motion_graphcut.cpp.
Definition at line 152 of file motion_graphcut.cpp.
Definition at line 154 of file motion_graphcut.cpp.
Definition at line 157 of file motion_graphcut.cpp.
Definition at line 153 of file motion_graphcut.cpp.
Definition at line 155 of file motion_graphcut.cpp.