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
c2341fd4
Commit
c2341fd4
authored
May 05, 2014
by
Ilya Krylov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stereoCalibrate for Fisheye camera model
parent
e6aa8ce9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
calib3d.hpp
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
+9
-1
fisheye.cpp
modules/calib3d/src/fisheye.cpp
+0
-0
fisheye.hpp
modules/calib3d/src/fisheye.hpp
+12
-0
No files found.
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
View file @
c2341fd4
...
...
@@ -757,7 +757,8 @@ public:
CALIB_FIX_K1
=
16
,
CALIB_FIX_K2
=
32
,
CALIB_FIX_K3
=
64
,
CALIB_FIX_K4
=
128
CALIB_FIX_K4
=
128
,
CALIB_FIX_INTRINSIC
=
256
};
//! projects 3D points using fisheye model
...
...
@@ -802,6 +803,13 @@ public:
static
void
stereoRectify
(
InputArray
K1
,
InputArray
D1
,
InputArray
K2
,
InputArray
D2
,
const
Size
&
imageSize
,
InputArray
R
,
InputArray
tvec
,
OutputArray
R1
,
OutputArray
R2
,
OutputArray
P1
,
OutputArray
P2
,
OutputArray
Q
,
int
flags
,
const
Size
&
newImageSize
=
Size
(),
double
balance
=
0.0
,
double
fov_scale
=
1.0
);
//! performs stereo calibaration
static
double
stereoCalibrate
(
InputArrayOfArrays
objectPoints
,
InputArrayOfArrays
imagePoints1
,
InputArrayOfArrays
imagePoints2
,
InputOutputArray
K1
,
InputOutputArray
D1
,
InputOutputArray
K2
,
InputOutputArray
D2
,
InputOutputArrayOfArrays
rvecs1
,
InputOutputArrayOfArrays
tvecs1
,
InputOutputArrayOfArrays
rvecs2
,
InputOutputArrayOfArrays
tvecs2
,
TermCriteria
criteria
=
TermCriteria
(
3
,
100
,
1e-10
));
};
}
...
...
modules/calib3d/src/fisheye.cpp
View file @
c2341fd4
This diff is collapsed.
Click to expand it.
modules/calib3d/src/fisheye.hpp
View file @
c2341fd4
...
...
@@ -43,6 +43,18 @@ void EstimateUncertainties(InputArrayOfArrays objectPoints, InputArrayOfArrays i
const
IntrinsicParams
&
params
,
InputArray
omc
,
InputArray
Tc
,
IntrinsicParams
&
errors
,
Vec2d
&
std_err
,
double
thresh_cond
,
int
check_cond
,
double
&
rms
);
void
dAB
(
cv
::
InputArray
A
,
InputArray
B
,
OutputArray
dABdA
,
OutputArray
dABdB
);
void
JRodriguesMatlab
(
const
Mat
&
src
,
Mat
&
dst
);
void
compose_motion
(
InputArray
_om1
,
InputArray
_T1
,
InputArray
_om2
,
InputArray
_T2
,
Mat
&
om3
,
Mat
&
T3
,
Mat
&
dom3dom1
,
Mat
&
dom3dT1
,
Mat
&
dom3dom2
,
Mat
&
dom3dT2
,
Mat
&
dT3dom1
,
Mat
&
dT3dT1
,
Mat
&
dT3dom2
,
Mat
&
dT3dT2
);
double
median
(
const
Mat
&
row
);
Vec3d
median3d
(
InputArray
m
);
}}
#endif
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