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
60ce2b2e
Commit
60ce2b2e
authored
Mar 05, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified SURF's performance test to test OpenCL version as well
parent
da70b042
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
perf_surf.cpp
modules/nonfree/perf/perf_surf.cpp
+9
-3
No files found.
modules/nonfree/perf/perf_surf.cpp
View file @
60ce2b2e
...
...
@@ -12,6 +12,12 @@ typedef perf::TestBaseWithParam<std::string> surf;
"cv/detectors_descriptors_evaluation/images_datasets/leuven/img1.png",\
"stitching/a3.png"
#ifdef HAVE_OPENCV_OCL
typedef
ocl
::
SURF_OCL
surf_class
;
#else
typdef
SURF
surf_class
;
#endif
PERF_TEST_P
(
surf
,
detect
,
testing
::
Values
(
SURF_IMAGES
))
{
String
filename
=
getDataPath
(
GetParam
());
...
...
@@ -22,7 +28,7 @@ PERF_TEST_P(surf, detect, testing::Values(SURF_IMAGES))
Mat
mask
;
declare
.
in
(
frame
).
time
(
90
);
SURF
detector
;
surf_class
detector
;
vector
<
KeyPoint
>
points
;
TEST_CYCLE
()
detector
(
frame
,
mask
,
points
);
...
...
@@ -41,7 +47,7 @@ PERF_TEST_P(surf, extract, testing::Values(SURF_IMAGES))
Mat
mask
;
declare
.
in
(
frame
).
time
(
90
);
SURF
detector
;
surf_class
detector
;
vector
<
KeyPoint
>
points
;
vector
<
float
>
descriptors
;
detector
(
frame
,
mask
,
points
);
...
...
@@ -61,7 +67,7 @@ PERF_TEST_P(surf, full, testing::Values(SURF_IMAGES))
Mat
mask
;
declare
.
in
(
frame
).
time
(
90
);
SURF
detector
;
surf_class
detector
;
vector
<
KeyPoint
>
points
;
vector
<
float
>
descriptors
;
...
...
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