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
bbe75fe1
Commit
bbe75fe1
authored
9 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
calib3d: normalize Rodrigues vector in perf test
parent
0726c4d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
perf_pnp.cpp
modules/calib3d/perf/perf_pnp.cpp
+5
-0
No files found.
modules/calib3d/perf/perf_pnp.cpp
View file @
bbe75fe1
...
...
@@ -90,6 +90,11 @@ PERF_TEST_P(PointsNum_Algo, solvePnPSmallPoints,
warmup
(
rvec
,
WARMUP_RNG
);
warmup
(
tvec
,
WARMUP_RNG
);
// normalize Rodrigues vector
Mat
rvec_tmp
=
Mat
::
eye
(
3
,
3
,
CV_32F
);
Rodrigues
(
rvec
,
rvec_tmp
);
Rodrigues
(
rvec_tmp
,
rvec
);
projectPoints
(
points3d
,
rvec
,
tvec
,
intrinsics
,
distortion
,
points2d
);
//add noise
...
...
This diff is collapsed.
Click to expand it.
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