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
6c3d45d9
Commit
6c3d45d9
authored
Sep 24, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compile errors with MSVC2010
parent
e812a02c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
calibration.cpp
modules/calib3d/src/calibration.cpp
+4
-3
No files found.
modules/calib3d/src/calibration.cpp
View file @
6c3d45d9
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include "precomp.hpp"
#include "precomp.hpp"
#include <stdio.h>
#include <stdio.h>
#include <iterator>
/*
/*
This is stright-forward port v3 of Matlab calibration engine by Jean-Yves Bouguet
This is stright-forward port v3 of Matlab calibration engine by Jean-Yves Bouguet
...
@@ -3510,9 +3511,9 @@ static void adjust3rdMatrix(const vector<vector<Point2f> >& imgpt1_0,
...
@@ -3510,9 +3511,9 @@ static void adjust3rdMatrix(const vector<vector<Point2f> >& imgpt1_0,
undistortPoints
(
Mat
(
imgpt3
),
imgpt3
,
cameraMatrix3
,
distCoeffs3
,
R3
,
P3
);
undistortPoints
(
Mat
(
imgpt3
),
imgpt3
,
cameraMatrix3
,
distCoeffs3
,
R3
,
P3
);
double
y1_
=
0
,
y2_
=
0
,
y1y1_
=
0
,
y1y2_
=
0
;
double
y1_
=
0
,
y2_
=
0
,
y1y1_
=
0
,
y1y2_
=
0
;
in
t
n
=
imgpt1
.
size
();
size_
t
n
=
imgpt1
.
size
();
for
(
in
t
i
=
0
;
i
<
n
;
i
++
)
for
(
size_
t
i
=
0
;
i
<
n
;
i
++
)
{
{
double
y1
=
imgpt3
[
i
].
y
,
y2
=
imgpt1
[
i
].
y
;
double
y1
=
imgpt3
[
i
].
y
,
y2
=
imgpt1
[
i
].
y
;
...
@@ -3543,7 +3544,7 @@ float cv::rectify3( const Mat& cameraMatrix1, const Mat& distCoeffs1,
...
@@ -3543,7 +3544,7 @@ float cv::rectify3( const Mat& cameraMatrix1, const Mat& distCoeffs1,
const
vector
<
vector
<
Point2f
>
>&
imgpt3
,
const
vector
<
vector
<
Point2f
>
>&
imgpt3
,
Size
imageSize
,
const
Mat
&
R12
,
const
Mat
&
T12
,
const
Mat
&
R13
,
const
Mat
&
T13
,
Size
imageSize
,
const
Mat
&
R12
,
const
Mat
&
T12
,
const
Mat
&
R13
,
const
Mat
&
T13
,
Mat
&
R1
,
Mat
&
R2
,
Mat
&
R3
,
Mat
&
P1
,
Mat
&
P2
,
Mat
&
P3
,
Mat
&
Q
,
Mat
&
R1
,
Mat
&
R2
,
Mat
&
R3
,
Mat
&
P1
,
Mat
&
P2
,
Mat
&
P3
,
Mat
&
Q
,
double
alpha
,
Size
newImgSize
,
double
alpha
,
Size
/*newImgSize*/
,
Rect
*
roi1
,
Rect
*
roi2
,
int
flags
)
Rect
*
roi1
,
Rect
*
roi2
,
int
flags
)
{
{
// first, rectify the 1-2 stereo pair
// first, rectify the 1-2 stereo pair
...
...
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