39
39
//
40
40
//M*/
41
41
42
- #include < opencv2/core.hpp>
43
- #include < vector>
44
-
45
42
#ifndef __OPENCV_OMNIDIR_HPP__
46
43
#define __OPENCV_OMNIDIR_HPP__
47
44
45
+ #include " opencv2/core.hpp"
46
+ #include " opencv2/core/affine.hpp"
47
+ #include < vector>
48
+
48
49
namespace cv
49
50
{
50
51
namespace omnidir
@@ -102,6 +103,10 @@ namespace omnidir
102
103
CV_EXPORTS_W void projectPoints (InputArray objectPoints, OutputArray imagePoints, InputArray rvec, InputArray tvec,
103
104
InputArray K, double xi, InputArray D, OutputArray jacobian = noArray());
104
105
106
+ /* * @overload */
107
+ CV_EXPORTS void projectPoints (InputArray objectPoints, OutputArray imagePoints, const Affine3d& affine,
108
+ InputArray K, double xi, InputArray D, OutputArray jacobian = noArray());
109
+
105
110
/* * @brief Undistort 2D image points for omnidirectional camera using CMei's model
106
111
107
112
@param distorted Array of distorted image points, vector of Vec2f
@@ -126,15 +131,15 @@ namespace omnidir
126
131
@param R Rotation transform between the original and object space : 3x3 1-channel, or vector: 3x1/1x3, with depth CV_32F or CV_64F
127
132
@param P New camera matrix (3x3) or new projection matrix (3x4)
128
133
@param size Undistorted image size.
129
- @param mltype Type of the first output map that can be CV_32FC1 or CV_16SC2 . See convertMaps()
134
+ @param m1type Type of the first output map that can be CV_32FC1 or CV_16SC2 . See convertMaps()
130
135
for details.
131
136
@param map1 The first output map.
132
137
@param map2 The second output map.
133
138
@param flags Flags indicates the rectification type, RECTIFY_PERSPECTIVE, RECTIFY_CYLINDRICAL, RECTIFY_LONGLATI and RECTIFY_STEREOGRAPHIC
134
139
are supported.
135
140
*/
136
141
CV_EXPORTS_W void initUndistortRectifyMap (InputArray K, InputArray D, InputArray xi, InputArray R, InputArray P, const cv::Size & size,
137
- int mltype , OutputArray map1, OutputArray map2, int flags);
142
+ int m1type , OutputArray map1, OutputArray map2, int flags);
138
143
139
144
/* * @brief Undistort omnidirectional images to perspective images
140
145
0 commit comments