Ask Your Question

Revision history [back]

may be this link can help you

may be this link can help you

may be this sample can help you too

may be this link can help you

may be this sample can help you tootoo. reconstruct funcion is called at line reconstruct(pt2d1, Rs_est1, ts_est1, Kr, pt3d1, true);

pts2d1 structure is :

-       pt2d1   { size=4 }  std::vector<cv::Mat,std::allocator<cv::Mat> >
-       pt2d1[0]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int
        [stride]    864 unsigned __int64
+       [Raw View]  {flags=1124024326 dims=2 rows=2 ...}    cv::Mat
-       pt2d1[1]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int
+       [data]  0x000001d8d438e8c0 "é®R’¯@=“Þ-Õ±@("  unsigned char *
        [stride]    864 unsigned __int64
+       [Raw View]  {flags=1124024326 dims=2 rows=2 ...}    cv::Mat
+       [2] {FLOAT64, 1 x 108 x 2}  cv::Mat
+       [3] {FLOAT64, 1 x 108 x 2}  cv::Mat

may be this link can help you

may be this sample can help you too. reconstruct funcion is called at line reconstruct(pt2d1, Rs_est1, ts_est1, Kr, pt3d1, true);

pts2d1 structure is :

-       pt2d1   { size=4 }  std::vector<cv::Mat,std::allocator<cv::Mat> >
-       pt2d1[0]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int
        [stride]    864 unsigned __int64

-       pt2d1[1]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int
+       [Raw View]  {flags=1124024326 dims=2 rows=2 ...}    cv::Mat
-       pt2d1[1]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int
pt2d1[2]    {FLOAT64, 1 x 108 x 2}  cv::Mat
+       [data]  0x000001d8d438e8c0 "é®R’¯@=“Þ-Õ±@("  unsigned char *
        [stride]    864 unsigned __int64
+       [Raw View]  {flags=1124024326 dims=2 rows=2 ...}    cv::Mat
+       [2] {FLOAT64, 1 x 108 x 2}  cv::Mat
+       [3] pt2d1[3]    {FLOAT64, 1 x 108 x 2}  cv::Mat

may be this link can help you

may be this sample can help you too. reconstruct funcion is called at line reconstruct(pt2d1, Rs_est1, ts_est1, Kr, pt3d1, true); reconstruct here is used when images are matched.

pts2d1 structure is :In your case reconstruct(images, Rs_est, ts_est, K, points3d_estimated, is_projective); images should be color image

-       pt2d1   { size=4 }  std::vector<cv::Mat,std::allocator<cv::Mat> >
-       pt2d1[0]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int

-       pt2d1[1]    {FLOAT64, 1 x 108 x 2}  cv::Mat
        [type]  FLOAT64 
        [channels]  1   int
        [width] 108 int
        [height]    2   int
+       pt2d1[2]    {FLOAT64, 1 x 108 x 2}  cv::Mat
+       pt2d1[3]    {FLOAT64, 1 x 108 x 2}  cv::Mat