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
b84cbeec
Commit
b84cbeec
authored
Jun 29, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
calib3d(perf): disable SGBM tests in debug mode
because they are too long (takes minutes)
parent
f6a33c48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
perf_stereosgbm.cpp
modules/calib3d/perf/perf_stereosgbm.cpp
+6
-6
No files found.
modules/calib3d/perf/perf_stereosgbm.cpp
View file @
b84cbeec
...
...
@@ -11,7 +11,7 @@
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met :
*
* *Redistributions of source code must retain the above copyright notice,
* *
Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
...
...
@@ -38,20 +38,20 @@
namespace
cvtest
{
using
std
::
tr1
::
tuple
;
using
std
::
tr1
::
get
;
using
namespace
perf
;
using
namespace
testing
;
using
namespace
cv
;
void
MakeArtificialExample
(
RNG
rng
,
Mat
&
dst_left_view
,
Mat
&
dst_view
);
static
void
MakeArtificialExample
(
RNG
rng
,
Mat
&
dst_left_view
,
Mat
&
dst_view
);
CV_ENUM
(
SGBMModes
,
StereoSGBM
::
MODE_SGBM
,
StereoSGBM
::
MODE_SGBM_3WAY
,
StereoSGBM
::
MODE_HH4
);
typedef
tuple
<
Size
,
int
,
SGBMModes
>
SGBMParams
;
typedef
TestBaseWithParam
<
SGBMParams
>
TestStereoCorresp
;
#ifndef _DEBUG
PERF_TEST_P
(
TestStereoCorresp
,
SGBM
,
Combine
(
Values
(
Size
(
1280
,
720
),
Size
(
640
,
480
)),
Values
(
256
,
128
),
SGBMModes
::
all
())
)
#else
PERF_TEST_P
(
TestStereoCorresp
,
DISABLED_TooLongInDebug_SGBM
,
Combine
(
Values
(
Size
(
1280
,
720
),
Size
(
640
,
480
)),
Values
(
256
,
128
),
SGBMModes
::
all
())
)
#endif
{
RNG
rng
(
0
);
...
...
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