You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param objectPoints: Array of object points, 1xN/Nx1 3-channel (or ``vector<Point3f>`` ), where N is the number of points in the view.
1606
1602
@@ -1620,11 +1616,11 @@ Projects points using fisheye model
1620
1616
1621
1617
The function computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters. Optionally, the function computes Jacobians - matrices of partial derivatives of image points coordinates (as functions of all the input parameters) with respect to the particular parameters, intrinsic and/or extrinsic.
:param undistorted: Array of object points, 1xN/Nx1 2-channel (or ``vector<Point2f>`` ), where N is the number of points in the view.
1630
1626
@@ -1636,11 +1632,11 @@ Distorts 2D points using fisheye model.
1636
1632
1637
1633
:param distorted: Output array of image points, 1xN/Nx1 2-channel, or ``vector<Point2f>`` .
1638
1634
1639
-
Fisheye::undistortPoints
1635
+
fisheye::undistortPoints
1640
1636
-----------------------------
1641
1637
Undistorts 2D points using fisheye model
1642
1638
1643
-
.. ocv:function:: void Fisheye::undistortPoints(InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray R = noArray(), InputArray P = noArray())
1639
+
.. ocv:function:: void fisheye::undistortPoints(InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray R = noArray(), InputArray P = noArray())
1644
1640
1645
1641
:param distorted: Array of object points, 1xN/Nx1 2-channel (or ``vector<Point2f>`` ), where N is the number of points in the view.
1646
1642
@@ -1655,11 +1651,11 @@ Undistorts 2D points using fisheye model
1655
1651
:param undistorted: Output array of image points, 1xN/Nx1 2-channel, or ``vector<Point2f>`` .
1656
1652
1657
1653
1658
-
Fisheye::initUndistortRectifyMap
1654
+
fisheye::initUndistortRectifyMap
1659
1655
-------------------------------------
1660
1656
Computes undistortion and rectification maps for image transform by cv::remap(). If D is empty zero distortion is used, if R or P is empty identity matrixes are used.
:param distorted: image with fisheye lens distortion.
1687
1683
@@ -1696,24 +1692,24 @@ Transforms an image to compensate for fisheye lens distortion.
1696
1692
The function transforms an image to compensate radial and tangential lens distortion.
1697
1693
1698
1694
The function is simply a combination of
1699
-
:ocv:func:`Fisheye::initUndistortRectifyMap` (with unity ``R`` ) and
1695
+
:ocv:func:`fisheye::initUndistortRectifyMap` (with unity ``R`` ) and
1700
1696
:ocv:func:`remap` (with bilinear interpolation). See the former function for details of the transformation being performed.
1701
1697
1702
1698
See below the results of undistortImage.
1703
1699
* a\) result of :ocv:func:`undistort` of perspective camera model (all possible coefficients (k_1, k_2, k_3, k_4, k_5, k_6) of distortion were optimized under calibration)
1704
-
* b\) result of :ocv:func:`Fisheye::undistortImage` of fisheye camera model (all possible coefficients (k_1, k_2, k_3, k_4) of fisheye distortion were optimized under calibration)
1700
+
* b\) result of :ocv:func:`fisheye::undistortImage` of fisheye camera model (all possible coefficients (k_1, k_2, k_3, k_4) of fisheye distortion were optimized under calibration)
1705
1701
* c\) original image was captured with fisheye lens
1706
1702
1707
1703
Pictures a) and b) almost the same. But if we consider points of image located far from the center of image, we can notice that on image a) these points are distorted.
:param objectPoints: vector of vectors of calibration pattern points in the calibration pattern coordinate space.
1783
1779
1784
1780
:param imagePoints: vector of vectors of the projections of calibration pattern points. ``imagePoints.size()`` and ``objectPoints.size()`` and ``imagePoints[i].size()`` must be equal to ``objectPoints[i].size()`` for each ``i``.
1785
1781
1786
1782
:param image_size: Size of the image used only to initialize the intrinsic camera matrix.
1787
1783
1788
-
:param K: Output 3x3 floating-point camera matrix :math:`A = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}` . If ``Fisheye::CALIB_USE_INTRINSIC_GUESS``/ is specified, some or all of ``fx, fy, cx, cy`` must be initialized before calling the function.
1784
+
:param K: Output 3x3 floating-point camera matrix :math:`A = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}` . If ``fisheye::CALIB_USE_INTRINSIC_GUESS``/ is specified, some or all of ``fx, fy, cx, cy`` must be initialized before calling the function.
@@ -1795,32 +1791,32 @@ Performs camera calibaration
1795
1791
1796
1792
:param flags: Different flags that may be zero or a combination of the following values:
1797
1793
1798
-
* **Fisheye::CALIB_USE_INTRINSIC_GUESS** ``cameraMatrix`` contains valid initial values of ``fx, fy, cx, cy`` that are optimized further. Otherwise, ``(cx, cy)`` is initially set to the image center ( ``imageSize`` is used), and focal distances are computed in a least-squares fashion.
1794
+
* **fisheye::CALIB_USE_INTRINSIC_GUESS** ``cameraMatrix`` contains valid initial values of ``fx, fy, cx, cy`` that are optimized further. Otherwise, ``(cx, cy)`` is initially set to the image center ( ``imageSize`` is used), and focal distances are computed in a least-squares fashion.
1799
1795
1800
-
* **Fisheye::CALIB_RECOMPUTE_EXTRINSIC** Extrinsic will be recomputed after each iteration of intrinsic optimization.
1796
+
* **fisheye::CALIB_RECOMPUTE_EXTRINSIC** Extrinsic will be recomputed after each iteration of intrinsic optimization.
1801
1797
1802
-
* **Fisheye::CALIB_CHECK_COND** The functions will check validity of condition number.
1798
+
* **fisheye::CALIB_CHECK_COND** The functions will check validity of condition number.
1803
1799
1804
-
* **Fisheye::CALIB_FIX_SKEW** Skew coefficient (alpha) is set to zero and stay zero.
1800
+
* **fisheye::CALIB_FIX_SKEW** Skew coefficient (alpha) is set to zero and stay zero.
1805
1801
1806
-
* **Fisheye::CALIB_FIX_K1..4** Selected distortion coefficients are set to zeros and stay zero.
1802
+
* **fisheye::CALIB_FIX_K1..4** Selected distortion coefficients are set to zeros and stay zero.
1807
1803
1808
1804
:param criteria: Termination criteria for the iterative optimization algorithm.
:param objectPoints: Vector of vectors of the calibration pattern points.
1818
1814
1819
1815
:param imagePoints1: Vector of vectors of the projections of the calibration pattern points, observed by the first camera.
1820
1816
1821
1817
:param imagePoints2: Vector of vectors of the projections of the calibration pattern points, observed by the second camera.
1822
1818
1823
-
:param K1: Input/output first camera matrix: :math:`\vecthreethree{f_x^{(j)}}{0}{c_x^{(j)}}{0}{f_y^{(j)}}{c_y^{(j)}}{0}{0}{1}` , :math:`j = 0,\, 1` . If any of ``Fisheye::CALIB_USE_INTRINSIC_GUESS`` , ``Fisheye::CV_CALIB_FIX_INTRINSIC`` are specified, some or all of the matrix components must be initialized.
1819
+
:param K1: Input/output first camera matrix: :math:`\vecthreethree{f_x^{(j)}}{0}{c_x^{(j)}}{0}{f_y^{(j)}}{c_y^{(j)}}{0}{0}{1}` , :math:`j = 0,\, 1` . If any of ``fisheye::CALIB_USE_INTRINSIC_GUESS`` , ``fisheye::CV_CALIB_FIX_INTRINSIC`` are specified, some or all of the matrix components must be initialized.
1824
1820
1825
1821
:param D1: Input/output vector of distortion coefficients :math:`(k_1, k_2, k_3, k_4)` of 4 elements.
:param flags: Different flags that may be zero or a combination of the following values:
1838
1834
1839
-
* **Fisheye::CV_CALIB_FIX_INTRINSIC** Fix ``K1, K2?`` and ``D1, D2?`` so that only ``R, T`` matrices are estimated.
1835
+
* **fisheye::CV_CALIB_FIX_INTRINSIC** Fix ``K1, K2?`` and ``D1, D2?`` so that only ``R, T`` matrices are estimated.
1840
1836
1841
-
* **Fisheye::CALIB_USE_INTRINSIC_GUESS** ``K1, K2`` contains valid initial values of ``fx, fy, cx, cy`` that are optimized further. Otherwise, ``(cx, cy)`` is initially set to the image center (``imageSize`` is used), and focal distances are computed in a least-squares fashion.
1837
+
* **fisheye::CALIB_USE_INTRINSIC_GUESS** ``K1, K2`` contains valid initial values of ``fx, fy, cx, cy`` that are optimized further. Otherwise, ``(cx, cy)`` is initially set to the image center (``imageSize`` is used), and focal distances are computed in a least-squares fashion.
1842
1838
1843
-
* **Fisheye::CALIB_RECOMPUTE_EXTRINSIC** Extrinsic will be recomputed after each iteration of intrinsic optimization.
1839
+
* **fisheye::CALIB_RECOMPUTE_EXTRINSIC** Extrinsic will be recomputed after each iteration of intrinsic optimization.
1844
1840
1845
-
* **Fisheye::CALIB_CHECK_COND** The functions will check validity of condition number.
1841
+
* **fisheye::CALIB_CHECK_COND** The functions will check validity of condition number.
1846
1842
1847
-
* **Fisheye::CALIB_FIX_SKEW** Skew coefficient (alpha) is set to zero and stay zero.
1843
+
* **fisheye::CALIB_FIX_SKEW** Skew coefficient (alpha) is set to zero and stay zero.
1848
1844
1849
-
* **Fisheye::CALIB_FIX_K1..4** Selected distortion coefficients are set to zeros and stay zero.
1845
+
* **fisheye::CALIB_FIX_K1..4** Selected distortion coefficients are set to zeros and stay zero.
1850
1846
1851
1847
:param criteria: Termination criteria for the iterative optimization algorithm.
0 commit comments