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
72e55f5c
Commit
72e55f5c
authored
Sep 19, 2018
by
Hamdi Sahloul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename unnamed enum to ORB.ScoreType
parent
21b46306
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
test_features2d.cpp
modules/cudafeatures2d/test/test_features2d.cpp
+3
-5
No files found.
modules/cudafeatures2d/test/test_features2d.cpp
View file @
72e55f5c
...
...
@@ -172,9 +172,7 @@ namespace
IMPLEMENT_PARAM_CLASS
(
ORB_BlurForDescriptor
,
bool
)
}
CV_ENUM
(
ORB_ScoreType
,
cv
::
ORB
::
HARRIS_SCORE
,
cv
::
ORB
::
FAST_SCORE
)
PARAM_TEST_CASE
(
ORB
,
cv
::
cuda
::
DeviceInfo
,
ORB_FeaturesCount
,
ORB_ScaleFactor
,
ORB_LevelsCount
,
ORB_EdgeThreshold
,
ORB_firstLevel
,
ORB_WTA_K
,
ORB_ScoreType
,
ORB_PatchSize
,
ORB_BlurForDescriptor
)
PARAM_TEST_CASE
(
ORB
,
cv
::
cuda
::
DeviceInfo
,
ORB_FeaturesCount
,
ORB_ScaleFactor
,
ORB_LevelsCount
,
ORB_EdgeThreshold
,
ORB_firstLevel
,
ORB_WTA_K
,
cv
::
ORB
::
ScoreType
,
ORB_PatchSize
,
ORB_BlurForDescriptor
)
{
cv
::
cuda
::
DeviceInfo
devInfo
;
int
nFeatures
;
...
...
@@ -183,7 +181,7 @@ PARAM_TEST_CASE(ORB, cv::cuda::DeviceInfo, ORB_FeaturesCount, ORB_ScaleFactor, O
int
edgeThreshold
;
int
firstLevel
;
int
WTA_K
;
int
scoreType
;
cv
::
ORB
::
ScoreType
scoreType
;
int
patchSize
;
bool
blurForDescriptor
;
...
...
@@ -260,7 +258,7 @@ INSTANTIATE_TEST_CASE_P(CUDA_Features2D, ORB, testing::Combine(
testing
::
Values
(
ORB_EdgeThreshold
(
31
)),
testing
::
Values
(
ORB_firstLevel
(
0
)),
testing
::
Values
(
ORB_WTA_K
(
2
),
ORB_WTA_K
(
3
),
ORB_WTA_K
(
4
)),
testing
::
Values
(
ORB_ScoreType
(
cv
::
ORB
::
HARRIS_SCORE
)
),
testing
::
Values
(
cv
::
ORB
::
HARRIS_SCORE
),
testing
::
Values
(
ORB_PatchSize
(
31
),
ORB_PatchSize
(
29
)),
testing
::
Values
(
ORB_BlurForDescriptor
(
false
),
ORB_BlurForDescriptor
(
true
))));
...
...
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