diff --git a/modules/calib3d/doc/pics/hand-eye_figure.png b/modules/calib3d/doc/pics/hand-eye_figure.png index ff41d33f8c..0d53be4bdf 100644 Binary files a/modules/calib3d/doc/pics/hand-eye_figure.png and b/modules/calib3d/doc/pics/hand-eye_figure.png differ diff --git a/modules/calib3d/doc/pics/pinhole_camera_model.png b/modules/calib3d/doc/pics/pinhole_camera_model.png index 111112b006..67415fe685 100644 Binary files a/modules/calib3d/doc/pics/pinhole_camera_model.png and b/modules/calib3d/doc/pics/pinhole_camera_model.png differ diff --git a/modules/calib3d/doc/pics/pinhole_homogeneous_transformation.jpg b/modules/calib3d/doc/pics/pinhole_homogeneous_transformation.jpg new file mode 100644 index 0000000000..00cb2702ca Binary files /dev/null and b/modules/calib3d/doc/pics/pinhole_homogeneous_transformation.jpg differ diff --git a/modules/calib3d/doc/pics/pinhole_homogeneous_transformation.png b/modules/calib3d/doc/pics/pinhole_homogeneous_transformation.png deleted file mode 100644 index f98e4ba217..0000000000 Binary files a/modules/calib3d/doc/pics/pinhole_homogeneous_transformation.png and /dev/null differ diff --git a/modules/calib3d/doc/pics/robot-world_hand-eye_figure.png b/modules/calib3d/doc/pics/robot-world_hand-eye_figure.png index 867bc81c73..26f5eca076 100644 Binary files a/modules/calib3d/doc/pics/robot-world_hand-eye_figure.png and b/modules/calib3d/doc/pics/robot-world_hand-eye_figure.png differ diff --git a/modules/calib3d/include/opencv2/calib3d.hpp b/modules/calib3d/include/opencv2/calib3d.hpp index 9116491250..fecc3ae254 100644 --- a/modules/calib3d/include/opencv2/calib3d.hpp +++ b/modules/calib3d/include/opencv2/calib3d.hpp @@ -220,7 +220,7 @@ Z_w \\ The following figure illustrates the pinhole camera model. -![Pinhole camera model](pics/pinhole_camera_model.png) +![Pinhole camera model](pics/pinhole_camera_model.png) { width=70% } Real lenses usually have some distortion, mostly radial distortion, and slight tangential distortion. So, the above model is extended as: @@ -448,7 +448,7 @@ The inverse of an homogeneous transformation matrix is then: One can note that the inverse of a 3x3 rotation matrix is directly its matrix transpose. -![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.png) +![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.jpg) { width=70% } This figure summarizes the whole process. The object pose returned for instance by the @ref solvePnP function or pose from fiducial marker detection is this \f$ {}^{c}\mathbf{T}_o \f$ transformation. @@ -1012,7 +1012,7 @@ Check @ref tutorial_homography "the corresponding tutorial" for more details /** @brief Finds an object pose \f$ {}^{c}\mathbf{T}_o \f$ from 3D-2D point correspondences: -![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.png){ width=50% } +![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.jpg){ width=50% } @see @ref calib3d_solvePnP @@ -1085,7 +1085,7 @@ CV_EXPORTS_W bool solvePnP( InputArray objectPoints, InputArray imagePoints, /** @brief Finds an object pose \f$ {}^{c}\mathbf{T}_o \f$ from 3D-2D point correspondences using the RANSAC scheme to deal with bad matches. -![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.png){ width=50% } +![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.jpg){ width=50% } @see @ref calib3d_solvePnP @@ -1147,7 +1147,7 @@ CV_EXPORTS_W bool solvePnPRansac( InputArray objectPoints, InputArray imagePoint /** @brief Finds an object pose \f$ {}^{c}\mathbf{T}_o \f$ from **3** 3D-2D point correspondences. -![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.png){ width=50% } +![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.jpg){ width=50% } @see @ref calib3d_solvePnP @@ -1242,7 +1242,7 @@ CV_EXPORTS_W void solvePnPRefineVVS( InputArray objectPoints, InputArray imagePo /** @brief Finds an object pose \f$ {}^{c}\mathbf{T}_o \f$ from 3D-2D point correspondences. -![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.png){ width=50% } +![Perspective projection, from object to camera frame](pics/pinhole_homogeneous_transformation.jpg){ width=50% } @see @ref calib3d_solvePnP