Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
299bbcc8
Commit
299bbcc8
authored
Nov 06, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
parents
91e16573
25ded913
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
ovis.cpp
modules/ovis/src/ovis.cpp
+8
-2
test_normal.cpp
modules/rgbd/test/test_normal.cpp
+1
-1
test_odometry.cpp
modules/rgbd/test/test_odometry.cpp
+1
-1
simple_pipeline.cpp
modules/sfm/src/simple_pipeline.cpp
+3
-0
No files found.
modules/ovis/src/ovis.cpp
View file @
299bbcc8
...
...
@@ -10,6 +10,7 @@
#include <OgreCompositorManager.h>
#include <opencv2/calib3d.hpp>
#include <opencv2/core/utils/configuration.private.hpp>
namespace
cv
{
...
...
@@ -183,6 +184,10 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp
:
OgreBites
::
ApplicationContext
(
"ovis"
,
false
),
sceneMgr
(
NULL
),
title
(
_title
),
w
(
sz
.
width
),
h
(
sz
.
height
),
key_pressed
(
-
1
),
flags
(
_flags
)
{
if
(
utils
::
getConfigurationParameterBool
(
"OPENCV_OVIS_VERBOSE_LOG"
,
false
))
return
;
// set default log with low log level
logMgr
.
reset
(
new
LogManager
());
logMgr
->
createLog
(
"ovis.log"
,
true
,
true
,
true
);
logMgr
->
setLogDetail
(
LL_LOW
);
...
...
@@ -201,8 +206,9 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp
bool
oneTimeConfig
()
CV_OVERRIDE
{
Ogre
::
RenderSystem
*
rs
=
getRoot
()
->
getRenderSystemByName
(
RENDERSYSTEM_NAME
);
CV_Assert
(
rs
);
Ogre
::
String
rsname
=
utils
::
getConfigurationParameterString
(
"OPENCV_OVIS_RENDERSYSTEM"
,
RENDERSYSTEM_NAME
);
Ogre
::
RenderSystem
*
rs
=
getRoot
()
->
getRenderSystemByName
(
rsname
);
CV_Assert
(
rs
&&
"Could not find rendersystem"
);
getRoot
()
->
setRenderSystem
(
rs
);
return
true
;
}
...
...
modules/rgbd/test/test_normal.cpp
View file @
299bbcc8
...
...
@@ -182,7 +182,7 @@ protected:
std
::
cout
<<
std
::
endl
<<
"*** FALS"
<<
std
::
endl
;
errors
[
0
][
0
]
=
0.006
f
;
errors
[
0
][
1
]
=
0.03
f
;
errors
[
1
][
0
]
=
0.000
08
f
;
errors
[
1
][
0
]
=
0.000
1
f
;
errors
[
1
][
1
]
=
0.02
f
;
break
;
case
1
:
...
...
modules/rgbd/test/test_odometry.cpp
View file @
299bbcc8
...
...
@@ -190,7 +190,7 @@ void CV_OdometryTest::generateRandomTransformation(Mat& rvec, Mat& tvec)
normalize
(
rvec
,
rvec
,
rng
.
uniform
(
0.007
f
,
maxRotation
));
randu
(
tvec
,
Scalar
(
-
1000
),
Scalar
(
1000
));
normalize
(
tvec
,
tvec
,
rng
.
uniform
(
0.00
7
f
,
maxTranslation
));
normalize
(
tvec
,
tvec
,
rng
.
uniform
(
0.00
8
f
,
maxTranslation
));
}
void
CV_OdometryTest
::
run
(
int
)
...
...
modules/sfm/src/simple_pipeline.cpp
View file @
299bbcc8
...
...
@@ -37,6 +37,9 @@
#if CERES_FOUND
// Eigen
#include <Eigen/Core>
#include <opencv2/core/eigen.hpp>
#include <opencv2/xfeatures2d.hpp>
...
...
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