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
029a8c44
Commit
029a8c44
authored
May 10, 2014
by
Ievgen Khvedchenia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove GSURF descriptor from KAZE algorithm
parent
a068ccbf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
42 deletions
+8
-42
feature_detection_and_description.rst
modules/features2d/doc/feature_detection_and_description.rst
+1
-18
features2d.hpp
modules/features2d/include/opencv2/features2d.hpp
+1
-7
features2d_init.cpp
modules/features2d/src/features2d_init.cpp
+0
-1
kaze.cpp
modules/features2d/src/kaze.cpp
+3
-8
KAZEConfig.h
modules/features2d/src/kaze/KAZEConfig.h
+1
-3
KAZEFeatures.cpp
modules/features2d/src/kaze/KAZEFeatures.cpp
+0
-0
test_keypoints.cpp
modules/features2d/test/test_keypoints.cpp
+2
-5
No files found.
modules/features2d/doc/feature_detection_and_description.rst
View file @
029a8c44
...
...
@@ -256,29 +256,12 @@ KAZE
Class implementing the KAZE keypoint detector and descriptor extractor, described in [ABD12]_. ::
class CV_EXPORTS_W KAZE : public Feature2D
{
public:
/// KAZE Descriptor Type
enum DESCRIPTOR_TYPE {
DESCRIPTOR_MSURF = 1,
DESCRIPTOR_GSURF = 2
};
CV_WRAP KAZE();
explicit KAZE(DESCRIPTOR_TYPE descriptor_type, bool extended, bool upright);
....
};
KAZE::KAZE
----------
The KAZE constructor
.. ocv:function:: KAZE::KAZE(
DESCRIPTOR_TYPE descriptor_type,
bool extended, bool upright)
.. ocv:function:: KAZE::KAZE(bool extended, bool upright)
:param descriptor_type: Type of the extracted descriptor.
:param extended: Set to enable extraction of extended (128-byte) descriptor.
:param upright: Set to enable use of upright descriptors (non rotation-invariant).
...
...
modules/features2d/include/opencv2/features2d.hpp
View file @
029a8c44
...
...
@@ -893,14 +893,8 @@ KAZE implementation
class
CV_EXPORTS_W
KAZE
:
public
Feature2D
{
public
:
/// AKAZE Descriptor Type
enum
DESCRIPTOR_TYPE
{
DESCRIPTOR_MSURF
=
1
,
DESCRIPTOR_GSURF
=
2
};
CV_WRAP
KAZE
();
explicit
KAZE
(
DESCRIPTOR_TYPE
descriptor_type
,
bool
extended
,
bool
upright
);
CV_WRAP
explicit
KAZE
(
bool
extended
,
bool
upright
);
virtual
~
KAZE
();
...
...
modules/features2d/src/features2d_init.cpp
View file @
029a8c44
...
...
@@ -126,7 +126,6 @@ CV_INIT_ALGORITHM(GFTTDetector, "Feature2D.GFTT",
///////////////////////////////////////////////////////////////////////////////////////////////////////////
CV_INIT_ALGORITHM
(
KAZE
,
"Feature2D.KAZE"
,
obj
.
info
()
->
addParam
(
obj
,
"descriptor"
,
obj
.
descriptor
);
obj
.
info
()
->
addParam
(
obj
,
"upright"
,
obj
.
upright
);
obj
.
info
()
->
addParam
(
obj
,
"extended"
,
obj
.
extended
))
...
...
modules/features2d/src/kaze.cpp
View file @
029a8c44
...
...
@@ -53,15 +53,13 @@ http://www.robesafe.com/personal/pablo.alcantarilla/papers/Alcantarilla12eccv.pd
namespace
cv
{
KAZE
::
KAZE
()
:
descriptor
(
DESCRIPTOR_MSURF
)
,
extended
(
false
)
:
extended
(
false
)
,
upright
(
false
)
{
}
KAZE
::
KAZE
(
DESCRIPTOR_TYPE
_descriptor_type
,
bool
_extended
,
bool
_upright
)
:
descriptor
(
_descriptor_type
)
,
extended
(
_extended
)
KAZE
::
KAZE
(
bool
_extended
,
bool
_upright
)
:
extended
(
_extended
)
,
upright
(
_upright
)
{
...
...
@@ -111,7 +109,6 @@ namespace cv
KAZEOptions
options
;
options
.
img_width
=
img
.
cols
;
options
.
img_height
=
img
.
rows
;
options
.
descriptor
=
static_cast
<
DESCRIPTOR_TYPE
>
(
descriptor
);
options
.
extended
=
extended
;
options
.
upright
=
upright
;
...
...
@@ -146,7 +143,6 @@ namespace cv
KAZEOptions
options
;
options
.
img_width
=
img
.
cols
;
options
.
img_height
=
img
.
rows
;
options
.
descriptor
=
static_cast
<
DESCRIPTOR_TYPE
>
(
descriptor
);
options
.
extended
=
extended
;
options
.
upright
=
upright
;
...
...
@@ -174,7 +170,6 @@ namespace cv
KAZEOptions
options
;
options
.
img_width
=
img
.
cols
;
options
.
img_height
=
img
.
rows
;
options
.
descriptor
=
static_cast
<
DESCRIPTOR_TYPE
>
(
descriptor
);
options
.
extended
=
extended
;
options
.
upright
=
upright
;
...
...
modules/features2d/src/kaze/KAZEConfig.h
View file @
029a8c44
...
...
@@ -22,8 +22,7 @@ struct KAZEOptions {
};
KAZEOptions
()
:
descriptor
(
cv
::
KAZE
::
DESCRIPTOR_MSURF
)
,
diffusivity
(
PM_G2
)
:
diffusivity
(
PM_G2
)
,
soffset
(
1
.
60
f
)
,
omax
(
4
)
...
...
@@ -46,7 +45,6 @@ struct KAZEOptions {
{
}
cv
::
KAZE
::
DESCRIPTOR_TYPE
descriptor
;
DIFFUSIVITY_TYPE
diffusivity
;
float
soffset
;
...
...
modules/features2d/src/kaze/KAZEFeatures.cpp
View file @
029a8c44
This diff is collapsed.
Click to expand it.
modules/features2d/test/test_keypoints.cpp
View file @
029a8c44
...
...
@@ -169,11 +169,8 @@ TEST(Features2d_Detector_Keypoints_Dense, validation)
TEST
(
Features2d_Detector_Keypoints_KAZE
,
validation
)
{
CV_FeatureDetectorKeypointsTest
test_gsurf
(
cv
::
Ptr
<
FeatureDetector
>
(
new
cv
::
KAZE
(
cv
::
KAZE
::
DESCRIPTOR_GSURF
,
false
,
false
)));
test_gsurf
.
safe_run
();
CV_FeatureDetectorKeypointsTest
test_msurf
(
cv
::
Ptr
<
FeatureDetector
>
(
new
cv
::
KAZE
(
cv
::
KAZE
::
DESCRIPTOR_MSURF
,
false
,
false
)));
test_msurf
.
safe_run
();
CV_FeatureDetectorKeypointsTest
test
(
Algorithm
::
create
<
FeatureDetector
>
(
"Feature2D.KAZE"
));
test
.
safe_run
();
}
TEST
(
Features2d_Detector_Keypoints_AKAZE
,
validation
)
...
...
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