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
6faf00b8
Commit
6faf00b8
authored
Jun 13, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jun 13, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #696 from znah:detect_method
parents
1acbc7b7
4d510be2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
features2d.hpp
modules/features2d/include/opencv2/features2d.hpp
+2
-0
descriptors.cpp
modules/features2d/src/descriptors.cpp
+6
-0
No files found.
modules/features2d/include/opencv2/features2d.hpp
View file @
6faf00b8
...
...
@@ -206,6 +206,8 @@ public:
OutputArray
descriptors
,
bool
useProvidedKeypoints
=
false
)
const
=
0
;
CV_WRAP
void
compute
(
const
Mat
&
image
,
CV_OUT
CV_IN_OUT
std
::
vector
<
KeyPoint
>&
keypoints
,
CV_OUT
Mat
&
descriptors
)
const
;
// Create feature detector and descriptor extractor by name.
CV_WRAP
static
Ptr
<
Feature2D
>
create
(
const
String
&
name
);
};
...
...
modules/features2d/src/descriptors.cpp
View file @
6faf00b8
...
...
@@ -105,6 +105,12 @@ Ptr<DescriptorExtractor> DescriptorExtractor::create(const String& descriptorExt
return
Algorithm
::
create
<
DescriptorExtractor
>
(
"Feature2D."
+
descriptorExtractorType
);
}
CV_WRAP
void
Feature2D
::
compute
(
const
Mat
&
image
,
CV_OUT
CV_IN_OUT
std
::
vector
<
KeyPoint
>&
keypoints
,
CV_OUT
Mat
&
descriptors
)
const
{
DescriptorExtractor
::
compute
(
image
,
keypoints
,
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