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
0ff5712d
Commit
0ff5712d
authored
Apr 07, 2012
by
Marina Kolpakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed few warnings
parent
fb0611bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test_cameracalibration.cpp
modules/calib3d/test/test_cameracalibration.cpp
+3
-3
No files found.
modules/calib3d/test/test_cameracalibration.cpp
View file @
0ff5712d
...
...
@@ -1508,7 +1508,7 @@ void CV_StereoCalibrationTest::run( int )
const
float
minDisparity
=
0.1
f
;
const
float
maxDisparity
=
600.0
f
;
const
int
pointsCount
=
500
;
const
float
requiredAccuracy
=
1e-3
;
const
float
requiredAccuracy
=
1e-3
f
;
RNG
&
rng
=
ts
->
get_rng
();
Mat
projectedPoints_1
(
2
,
pointsCount
,
CV_32FC1
);
...
...
@@ -1544,7 +1544,7 @@ void CV_StereoCalibrationTest::run( int )
}
//check correctMatches
const
float
constraintAccuracy
=
1e-5
;
const
float
constraintAccuracy
=
1e-5
f
;
Mat
newPoints1
,
newPoints2
;
Mat
points1
=
projectedPoints_1
.
t
();
points1
=
points1
.
reshape
(
2
,
1
);
...
...
@@ -1767,7 +1767,7 @@ void CV_StereoCalibrationTest_C::correct( const Mat& F,
CvMat
_F
=
F
,
_points1
=
points1
,
_points2
=
points2
;
newPoints1
.
create
(
1
,
points1
.
cols
,
points1
.
type
());
newPoints2
.
create
(
1
,
points2
.
cols
,
points2
.
type
());
CvMat
_newPoints1
=
newPoints1
,
_newPoints2
=
_
newPoints2
;
CvMat
_newPoints1
=
newPoints1
,
_newPoints2
=
newPoints2
;
cvCorrectMatches
(
&
_F
,
&
_points1
,
&
_points2
,
&
_newPoints1
,
&
_newPoints2
);
}
...
...
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