Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Commits
02aabcca
Commit
02aabcca
authored
Jul 11, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6829 from paroj:fixpp_fe
parents
39acd4a3
c1b90a1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
calib3d.hpp
modules/calib3d/include/opencv2/calib3d.hpp
+14
-11
fisheye.cpp
modules/calib3d/src/fisheye.cpp
+2
-2
No files found.
modules/calib3d/include/opencv2/calib3d.hpp
View file @
02aabcca
...
...
@@ -1782,15 +1782,16 @@ namespace fisheye
//! @{
enum
{
CALIB_USE_INTRINSIC_GUESS
=
1
,
CALIB_RECOMPUTE_EXTRINSIC
=
2
,
CALIB_CHECK_COND
=
4
,
CALIB_FIX_SKEW
=
8
,
CALIB_FIX_K1
=
16
,
CALIB_FIX_K2
=
32
,
CALIB_FIX_K3
=
64
,
CALIB_FIX_K4
=
128
,
CALIB_FIX_INTRINSIC
=
256
CALIB_USE_INTRINSIC_GUESS
=
1
<<
0
,
CALIB_RECOMPUTE_EXTRINSIC
=
1
<<
1
,
CALIB_CHECK_COND
=
1
<<
2
,
CALIB_FIX_SKEW
=
1
<<
3
,
CALIB_FIX_K1
=
1
<<
4
,
CALIB_FIX_K2
=
1
<<
5
,
CALIB_FIX_K3
=
1
<<
6
,
CALIB_FIX_K4
=
1
<<
7
,
CALIB_FIX_INTRINSIC
=
1
<<
8
,
CALIB_FIX_PRINCIPAL_POINT
=
1
<<
9
};
/** @brief Projects points using fisheye model
...
...
@@ -1940,8 +1941,10 @@ namespace fisheye
of intrinsic optimization.
- **fisheye::CALIB_CHECK_COND** The functions will check validity of condition number.
- **fisheye::CALIB_FIX_SKEW** Skew coefficient (alpha) is set to zero and stay zero.
- **fisheye::CALIB_FIX_K1..4** Selected distortion coefficients are set to zeros and stay
zero.
- **fisheye::CALIB_FIX_K1..fisheye::CALIB_FIX_K4** Selected distortion coefficients
are set to zeros and stay zero.
- **fisheye::CALIB_FIX_PRINCIPAL_POINT** The principal point is not changed during the global
optimization. It stays at the center or at a different location specified when CALIB_USE_INTRINSIC_GUESS is set too.
@param criteria Termination criteria for the iterative optimization algorithm.
*/
CV_EXPORTS_W
double
calibrate
(
InputArrayOfArrays
objectPoints
,
InputArrayOfArrays
imagePoints
,
const
Size
&
image_size
,
...
...
modules/calib3d/src/fisheye.cpp
View file @
02aabcca
...
...
@@ -709,8 +709,8 @@ double cv::fisheye::calibrate(InputArrayOfArrays objectPoints, InputArrayOfArray
finalParam
.
isEstimate
[
0
]
=
1
;
finalParam
.
isEstimate
[
1
]
=
1
;
finalParam
.
isEstimate
[
2
]
=
1
;
finalParam
.
isEstimate
[
3
]
=
1
;
finalParam
.
isEstimate
[
2
]
=
flags
&
CALIB_FIX_PRINCIPAL_POINT
?
0
:
1
;
finalParam
.
isEstimate
[
3
]
=
flags
&
CALIB_FIX_PRINCIPAL_POINT
?
0
:
1
;
finalParam
.
isEstimate
[
4
]
=
flags
&
CALIB_FIX_SKEW
?
0
:
1
;
finalParam
.
isEstimate
[
5
]
=
flags
&
CALIB_FIX_K1
?
0
:
1
;
finalParam
.
isEstimate
[
6
]
=
flags
&
CALIB_FIX_K2
?
0
:
1
;
...
...
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