mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Add a white background for images which have a transparent background in the calib3d module.
See: - https://github.com/opencv/opencv/pull/28450 - https://github.com/opencv/opencv/pull/28426
This commit is contained in:
@@ -220,7 +220,7 @@ Z_w \\
|
||||
|
||||
The following figure illustrates the pinhole camera model.
|
||||
|
||||

|
||||
 { 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.
|
||||
|
||||

|
||||
 { 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:
|
||||
|
||||
{ width=50% }
|
||||
{ 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.
|
||||
|
||||
{ width=50% }
|
||||
{ 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.
|
||||
|
||||
{ width=50% }
|
||||
{ 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.
|
||||
|
||||
{ width=50% }
|
||||
{ width=50% }
|
||||
|
||||
@see @ref calib3d_solvePnP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user