|
|
|
@ -41,10 +41,15 @@ |
|
|
|
|
#ifndef __OPENCV_OMNIDIR_HPP__ |
|
|
|
|
#define __OPENCV_OMNIDIR_HPP__ |
|
|
|
|
|
|
|
|
|
/** @defgroup omnidir Omnidirectional camera calibration
|
|
|
|
|
*/ |
|
|
|
|
namespace cv |
|
|
|
|
{ |
|
|
|
|
namespace omnidir |
|
|
|
|
{ |
|
|
|
|
//! @addtogroup omnidir
|
|
|
|
|
//! @{
|
|
|
|
|
|
|
|
|
|
enum { |
|
|
|
|
CALIB_USE_GUESS = 1, |
|
|
|
|
CALIB_FIX_SKEW = 2, |
|
|
|
@ -221,9 +226,12 @@ namespace omnidir |
|
|
|
|
@param numDisparities The parameter 'numDisparities' in StereoSGBM, see StereoSGBM for details. |
|
|
|
|
@param SADWindowSize The parameter 'SADWindowSize' in StereoSGBM, see StereoSGBM for details. |
|
|
|
|
@param disparity Disparity map generated by stereo matching |
|
|
|
|
@param pointCloud Point cloud of 3D reconstruction, with type CV_64FC3 |
|
|
|
|
@param image1Rec Rectified image of the first image |
|
|
|
|
@param image2Rec rectified image of the second image |
|
|
|
|
@param newSize Image size of rectified image, see omnidir::undistortImage |
|
|
|
|
@param Knew New camera matrix of rectified image, see omnidir::undistortImage |
|
|
|
|
@param pointCloud Point cloud of 3D reconstruction, with type CV_64FC3 |
|
|
|
|
@param pointType Point cloud type, it can be XYZRGB or XYZ |
|
|
|
|
*/ |
|
|
|
|
CV_EXPORTS_W void stereoReconstruct(InputArray image1, InputArray image2, InputArray K1, InputArray D1, InputArray xi1, |
|
|
|
|
InputArray K2, InputArray D2, InputArray xi2, InputArray R, InputArray T, int flag, int numDisparities, int SADWindowSize, |
|
|
|
@ -293,6 +301,7 @@ namespace internal |
|
|
|
|
//void dAB(InputArray A, InputArray B, OutputArray dABdA, OutputArray dABdB);
|
|
|
|
|
} // internal
|
|
|
|
|
|
|
|
|
|
//! @}
|
|
|
|
|
|
|
|
|
|
} // omnidir
|
|
|
|
|
|
|
|
|
|