diff --git a/api/latest/StereoCameraModel_8h_source.html b/api/latest/StereoCameraModel_8h_source.html index d7e4f7fa..fb24a122 100644 --- a/api/latest/StereoCameraModel_8h_source.html +++ b/api/latest/StereoCameraModel_8h_source.html @@ -225,52 +225,56 @@ $(document).ready(function(){initNavTree('StereoCameraModel_8h_source.html','');
- -| void rtabmap::StereoCameraModel::reproject | +( | +float | +x, | +
| + | + | float | +y, | +
| + | + | float | +z, | +
| + | + | float & | +uLeft, | +
| + | + | float & | +vLeft, | +
| + | + | float & | +uRight, | +
| + | + | float & | +vRight | +
| + | ) | +const | +
Reprojects a 3D point of the left camera frame into both image planes (floating-point).
+The point is given in the rectified left camera frame (/camera_link), the same frame used by CameraModel::reproject() of left(). The baseline is taken from the Tx of the rectified projection matrices, so the horizontal shift between uLeft and uRight is the disparity of that point. On a rectified stereo pair the rows are aligned, thus vRight equals vLeft.
+| x | X coordinate in the left camera space. | |
| y | Y coordinate in the left camera space. | |
| z | Z coordinate in the left camera space (must be non-zero). | |
| [out] | uLeft | Output horizontal image coordinate in the left image (float). |
| [out] | vLeft | Output vertical image coordinate in the left image (float). |
| [out] | uRight | Output horizontal image coordinate in the right image (float). |
| [out] | vRight | Output vertical image coordinate in the right image (float). |
z != 0| void rtabmap::StereoCameraModel::reproject | +( | +float | +x, | +
| + | + | float | +y, | +
| + | + | float | +z, | +
| + | + | int & | +uLeft, | +
| + | + | int & | +vLeft, | +
| + | + | int & | +uRight, | +
| + | + | int & | +vRight | +
| + | ) | +const | +
Reprojects a 3D point of the left camera frame into both image planes (rounded to int).
+This version of reproject() returns integer pixel indices, computed from the 3D position.
| x | X coordinate in the left camera space. | |
| y | Y coordinate in the left camera space. | |
| z | Z coordinate in the left camera space (must be non-zero). | |
| [out] | uLeft | Output horizontal image coordinate in the left image (integer pixel). |
| [out] | vLeft | Output vertical image coordinate in the left image (integer pixel). |
| [out] | uRight | Output horizontal image coordinate in the right image (integer pixel). |
| [out] | vRight | Output vertical image coordinate in the right image (integer pixel). |
z != 0Stereo extrinsic rotation matrix.
-Definition at line 430 of file StereoCameraModel.h.
+Definition at line 475 of file StereoCameraModel.h.
Stereo extrinsic translation vector.
-Definition at line 431 of file StereoCameraModel.h.
+Definition at line 476 of file StereoCameraModel.h.
@@ -1390,7 +1547,7 @@ If the serialized data type is not stereo (type != 1), deserialization will failEssential matrix.
-Definition at line 432 of file StereoCameraModel.h.
+Definition at line 477 of file StereoCameraModel.h.
@@ -1419,7 +1576,7 @@ If the serialized data type is not stereo (type != 1), deserialization will failFundamental matrix.
-Definition at line 433 of file StereoCameraModel.h.
+Definition at line 478 of file StereoCameraModel.h.
@@ -1511,7 +1668,7 @@ Only valid camera models are adjusted. Invalid models are left unchanged. <Sets the local transform from left camera to robot base.
-Definition at line 466 of file StereoCameraModel.h.
+Definition at line 511 of file StereoCameraModel.h.
@@ -1540,7 +1697,7 @@ Only valid camera models are adjusted. Invalid models are left unchanged. <Gets the local transform from left camera to robot base.
-Definition at line 471 of file StereoCameraModel.h.
+Definition at line 516 of file StereoCameraModel.h.
@@ -1597,7 +1754,7 @@ Only valid camera models are adjusted. Invalid models are left unchanged. <Returns the left camera model.
-Definition at line 502 of file StereoCameraModel.h.
+Definition at line 547 of file StereoCameraModel.h.
@@ -1626,7 +1783,7 @@ Only valid camera models are adjusted. Invalid models are left unchanged. <Returns the right camera model.
-Definition at line 506 of file StereoCameraModel.h.
+Definition at line 551 of file StereoCameraModel.h.
@@ -1655,7 +1812,7 @@ Only valid camera models are adjusted. Invalid models are left unchanged. <Gets the suffix used for the left camera calibration file.
-Definition at line 511 of file StereoCameraModel.h.
+Definition at line 556 of file StereoCameraModel.h.
@@ -1684,7 +1841,7 @@ Only valid camera models are adjusted. Invalid models are left unchanged. <Gets the suffix used for the right camera calibration file.
-Definition at line 515 of file StereoCameraModel.h.
+Definition at line 560 of file StereoCameraModel.h.
diff --git a/api/latest/classrtabmap_1_1StereoCameraModel.js b/api/latest/classrtabmap_1_1StereoCameraModel.js index 6fadfe32..c913ed85 100644 --- a/api/latest/classrtabmap_1_1StereoCameraModel.js +++ b/api/latest/classrtabmap_1_1StereoCameraModel.js @@ -24,6 +24,8 @@ var classrtabmap_1_1StereoCameraModel = [ "computeDepth", "classrtabmap_1_1StereoCameraModel.html#a514f7d1baff8b4be96d760b27279f5d6", null ], [ "computeDisparity", "classrtabmap_1_1StereoCameraModel.html#aecf8b2a628ead0bc422dbf791d683f5b", null ], [ "computeDisparity", "classrtabmap_1_1StereoCameraModel.html#a28230b8236ed778729ed1e1ceb590f31", null ], + [ "reproject", "classrtabmap_1_1StereoCameraModel.html#a084e3e40c8b0caf66269d508a8fcffbc", null ], + [ "reproject", "classrtabmap_1_1StereoCameraModel.html#a626b8f54940ebc77ec504921004dda3a", null ], [ "R", "classrtabmap_1_1StereoCameraModel.html#a7afd347afb3909a2039f154b3a048035", null ], [ "T", "classrtabmap_1_1StereoCameraModel.html#a82d60ddca8d0cdbe939b043ed02334b6", null ], [ "E", "classrtabmap_1_1StereoCameraModel.html#a8ab6c698248837e4dcfe36c2e7b02546", null ], diff --git a/api/latest/functions_func_r.html b/api/latest/functions_func_r.html index 49f9bbbe..b2c4d5a7 100644 --- a/api/latest/functions_func_r.html +++ b/api/latest/functions_func_r.html @@ -134,7 +134,7 @@ $(document).ready(function(){initNavTree('functions_func_r.html',''); initResiza