| 329 | } |
| 330 | |
| 331 | void copyImageMatrix(const cv::Mat &src, cv::Mat &dst, int idx_in) { |
| 332 | for (int j = 0; j < 60; j++) { |
| 333 | for (int k = 0; k < 60; k++) { |
| 334 | for (int l = 0; l < 15; l++) { |
| 335 | int idx_src[3] = {j, k, l}; |
| 336 | int idx_dst[4] = {idx_in, j, k, l}; |
| 337 | dst.at<uchar>(idx_dst) = src.at<uchar>(idx_src); |
| 338 | } |
| 339 | } |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | void handToTransform4x4(const Hand &hand, cv::Mat &tf, int idx_in) { |
| 344 | const Eigen::Matrix3d orient = hand.getFrame(); |
no outgoing calls
no test coverage detected