OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
poseTriangulation.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_3D_POSE_TRIANGULATION_HPP
2 #define OPENPOSE_3D_POSE_TRIANGULATION_HPP
3
4 #include <opencv2/core/core.hpp>
5 #include <openpose/core/common.hpp>
6
7 namespace op
8 {
13 OP_API double triangulate(
14 cv::Mat& reconstructedPoint, const std::vector<cv::Mat>& cameraMatrices,
15 const std::vector<cv::Point2d>& pointsOnEachCamera);
16
23 OP_API double triangulateWithOptimization(
24 cv::Mat& reconstructedPoint, const std::vector<cv::Mat>& cameraMatrices,
25 const std::vector<cv::Point2d>& pointsOnEachCamera, const double reprojectionMaxAcceptable);
26
27 class OP_API PoseTriangulation
28 {
29 public:
30 PoseTriangulation(const int minViews3d);
31
32 virtual ~PoseTriangulation();
33
34 void initializationOnThread();
35
36 Array<float> reconstructArray(const std::vector<Array<float>>& keypointsVector,
37 const std::vector<cv::Mat>& cameraMatrices,
38 const std::vector<Point<int>>& imageSizes) const;
39
40 std::vector<Array<float>> reconstructArray(const std::vector<std::vector<Array<float>>>& keypointsVector,
41 const std::vector<cv::Mat>& cameraMatrices,
42 const std::vector<Point<int>>& imageSizes) const;
43
44 private:
45 const int mMinViews3d;
46 };
47 }
48
49 #endif // OPENPOSE_3D_POSE_TRIANGULATION_HPP
op::triangulateWithOptimization
OP_API double triangulateWithOptimization(cv::Mat &reconstructedPoint, const std::vector< cv::Mat > &cameraMatrices, const std::vector< cv::Point2d > &pointsOnEachCamera, const double reprojectionMaxAcceptable)
op::PoseTriangulation
Definition: poseTriangulation.hpp:27
op::Point< int >
common.hpp
op::triangulate
OP_API double triangulate(cv::Mat &reconstructedPoint, const std::vector< cv::Mat > &cameraMatrices, const std::vector< cv::Point2d > &pointsOnEachCamera)
op::Array< float >
cl::vector
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
OP_API
#define OP_API
Definition: macros.hpp:19