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
c5669448
Commit
c5669448
authored
Jul 11, 2012
by
Alexander Mordvintsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
work on features2d python interface
parent
ffd283b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
features2d.hpp
modules/features2d/include/opencv2/features2d/features2d.hpp
+2
-2
features2d.hpp
modules/nonfree/include/opencv2/nonfree/features2d.hpp
+5
-5
No files found.
modules/features2d/include/opencv2/features2d/features2d.hpp
View file @
c5669448
...
...
@@ -1093,10 +1093,10 @@ protected:
* For efficiency, BruteForceMatcher is templated on the distance metric.
* For float descriptors, a common choice would be cv::L2<float>.
*/
class
CV_EXPORTS
BFMatcher
:
public
DescriptorMatcher
class
CV_EXPORTS
_W
BFMatcher
:
public
DescriptorMatcher
{
public
:
BFMatcher
(
int
normType
,
bool
crossCheck
=
false
);
CV_WRAP
BFMatcher
(
int
normType
,
bool
crossCheck
=
false
);
virtual
~
BFMatcher
()
{}
virtual
bool
isMaskSupported
()
const
{
return
true
;
}
...
...
modules/nonfree/include/opencv2/nonfree/features2d.hpp
View file @
c5669448
...
...
@@ -58,15 +58,15 @@ namespace cv
class
CV_EXPORTS_W
SIFT
:
public
Feature2D
{
public
:
explicit
SIFT
(
int
nfeatures
=
0
,
int
nOctaveLayers
=
3
,
CV_WRAP
explicit
SIFT
(
int
nfeatures
=
0
,
int
nOctaveLayers
=
3
,
double
contrastThreshold
=
0.04
,
double
edgeThreshold
=
10
,
double
sigma
=
1.6
);
//! returns the descriptor size in floats (128)
int
descriptorSize
()
const
;
CV_WRAP
int
descriptorSize
()
const
;
//! returns the descriptor type
int
descriptorType
()
const
;
CV_WRAP
int
descriptorType
()
const
;
//! finds the keypoints using SIFT algorithm
void
operator
()(
InputArray
img
,
InputArray
mask
,
...
...
@@ -121,10 +121,10 @@ public:
CV_WRAP
int
descriptorType
()
const
;
//! finds the keypoints using fast hessian detector used in SURF
CV_WRAP_AS
(
detect
)
void
operator
()(
InputArray
img
,
InputArray
mask
,
void
operator
()(
InputArray
img
,
InputArray
mask
,
CV_OUT
vector
<
KeyPoint
>&
keypoints
)
const
;
//! finds the keypoints and computes their descriptors. Optionally it can compute descriptors for the user-provided keypoints
CV_WRAP_AS
(
detect
)
void
operator
()(
InputArray
img
,
InputArray
mask
,
void
operator
()(
InputArray
img
,
InputArray
mask
,
CV_OUT
vector
<
KeyPoint
>&
keypoints
,
OutputArray
descriptors
,
bool
useProvidedKeypoints
=
false
)
const
;
...
...
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