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
811037d1
Commit
811037d1
authored
Oct 14, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rgbd: run non-free tests if OPENCV_ENABLE_NONFREE is defined
parent
6c4cb5d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
test_kinfu.cpp
modules/rgbd/test/test_kinfu.cpp
+17
-0
No files found.
modules/rgbd/test/test_kinfu.cpp
View file @
811037d1
...
...
@@ -327,23 +327,40 @@ void flyTest(bool hiDense, bool inequal)
ASSERT_LT
(
cv
::
norm
(
kfPose
.
translation
()
-
pose
.
translation
()),
poseThreshold
);
}
#ifdef OPENCV_ENABLE_NONFREE
TEST
(
KinectFusion
,
lowDense
)
#else
TEST
(
KinectFusion
,
DISABLED_lowDense
)
#endif
{
flyTest
(
false
,
false
);
}
#ifdef OPENCV_ENABLE_NONFREE
TEST
(
KinectFusion
,
highDense
)
#else
TEST
(
KinectFusion
,
DISABLED_highDense
)
#endif
{
flyTest
(
true
,
false
);
}
#ifdef OPENCV_ENABLE_NONFREE
TEST
(
KinectFusion
,
inequal
)
#else
TEST
(
KinectFusion
,
DISABLED_inequal
)
#endif
{
flyTest
(
false
,
true
);
}
#ifdef HAVE_OPENCL
#ifdef OPENCV_ENABLE_NONFREE
TEST
(
KinectFusion
,
OCL
)
#else
TEST
(
KinectFusion
,
DISABLED_OCL
)
#endif
{
cv
::
ocl
::
setUseOpenCL
(
false
);
flyTest
(
false
,
false
);
...
...
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