Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
2b28181d
Commit
2b28181d
authored
Aug 13, 2015
by
baisheng lai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify doxygen commands
parent
a337e588
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
5 deletions
+30
-5
multiCameraCalibration.hpp
modules/ccalib/include/opencv2/multiCameraCalibration.hpp
+9
-0
omnidir.hpp
modules/ccalib/include/opencv2/omnidir.hpp
+10
-1
randomPatten.hpp
modules/ccalib/include/opencv2/randomPatten.hpp
+9
-0
omnidir.cpp
modules/ccalib/src/omnidir.cpp
+2
-4
No files found.
modules/ccalib/include/opencv2/multiCameraCalibration.hpp
View file @
2b28181d
...
...
@@ -46,8 +46,15 @@
#include "opencv2/omnidir.hpp"
#include <string>
#include <iostream>
/** @defgroup mulcalib Multiple cameras calibration toolbox
*/
using
namespace
cv
;
//! @addtogroup mulcalib
//! @{
#define HEAD -1
#define INVALID -2
...
...
@@ -200,4 +207,5 @@ private:
std
::
vector
<
std
::
vector
<
Mat
>
>
_omEachCamera
,
_tEachCamera
;
};
//! @}
#endif
\ No newline at end of file
modules/ccalib/include/opencv2/omnidir.hpp
View file @
2b28181d
...
...
@@ -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
...
...
modules/ccalib/include/opencv2/randomPatten.hpp
View file @
2b28181d
...
...
@@ -45,6 +45,9 @@
#include "opencv2/features2d.hpp"
#include "opencv2/highgui.hpp"
/** @defgroup ranPattern Random pattern calibration pattern
*/
using
namespace
cv
;
/** @brief Class for finding features points and corresponding 3D in world coordinate of
a "random" pattern, which can be to be used in calibration. It is useful when pattern is
...
...
@@ -56,6 +59,10 @@ Please refer to paper
Calibration Toolbox Using A Feature Descriptor-Based Calibration
Pattern", in IROS 2013.
*/
//! @addtogroup ranPattern
//! @{
class
CV_EXPORTS
randomPatternCornerFinder
{
public
:
...
...
@@ -164,5 +171,6 @@ private:
int
_imageWidth
,
_imageHeight
;
};
//! @}
#endif
\ No newline at end of file
modules/ccalib/src/omnidir.cpp
View file @
2b28181d
...
...
@@ -764,7 +764,7 @@ void cv::omnidir::internal::initializeStereoCalibration(InputOutputArrayOfArrays
const
Size
&
size1
,
const
Size
&
size2
,
OutputArray
om
,
OutputArray
T
,
OutputArrayOfArrays
omL
,
OutputArrayOfArrays
tL
,
OutputArray
K1
,
OutputArray
D1
,
OutputArray
K2
,
OutputArray
D2
,
double
&
xi1
,
double
&
xi2
,
int
flags
,
OutputArray
idx
)
{
int
n
=
objectPoints
.
total
();
int
n
=
(
int
)
objectPoints
.
total
();
Mat
idx1
,
idx2
;
Matx33d
_K1
,
_K2
;
Matx14d
_D1
,
_D2
;
...
...
@@ -1620,15 +1620,13 @@ void cv::omnidir::stereoReconstruct(InputArray image1, InputArray image2, InputA
}
}
}
int
nPoints
=
0
;
if
(
pointType
==
XYZ
)
{
nPoints
=
(
int
)
_pointCloud
.
size
();
Mat
(
_pointCloud
).
convertTo
(
pointCloud
,
CV_MAKE_TYPE
(
CV_32F
,
3
));
}
else
if
(
pointType
==
XYZRGB
)
{
nPoints
=
(
int
)
_pointCloudColor
.
size
();
Mat
(
_pointCloudColor
).
convertTo
(
pointCloud
,
CV_MAKE_TYPE
(
CV_32F
,
6
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment