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
bd59bc3e
Commit
bd59bc3e
authored
Apr 12, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ifdef __cplusplus from nonfree headers
parent
5e048d1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
features2d.hpp
modules/nonfree/include/opencv2/nonfree/features2d.hpp
+9
-15
No files found.
modules/nonfree/include/opencv2/nonfree/features2d.hpp
View file @
bd59bc3e
...
...
@@ -45,8 +45,6 @@
#include "opencv2/features2d.hpp"
#ifdef __cplusplus
namespace
cv
{
...
...
@@ -58,9 +56,9 @@ namespace cv
class
CV_EXPORTS_W
SIFT
:
public
Feature2D
{
public
:
CV_WRAP
explicit
SIFT
(
int
nfeatures
=
0
,
int
nOctaveLayers
=
3
,
double
contrastThreshold
=
0.04
,
double
edgeThreshold
=
10
,
double
sigma
=
1.6
);
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)
CV_WRAP
int
descriptorSize
()
const
;
...
...
@@ -76,7 +74,7 @@ public:
void
operator
()(
InputArray
img
,
InputArray
mask
,
std
::
vector
<
KeyPoint
>&
keypoints
,
OutputArray
descriptors
,
bool
useProvidedKeypoints
=
false
)
const
;
bool
useProvidedKeypoints
=
false
)
const
;
AlgorithmInfo
*
info
()
const
;
...
...
@@ -86,7 +84,7 @@ public:
std
::
vector
<
KeyPoint
>&
keypoints
)
const
;
protected
:
void
detectImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
const
Mat
&
mask
=
Mat
()
)
const
;
void
detectImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
const
Mat
&
mask
=
Mat
()
)
const
;
void
computeImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
Mat
&
descriptors
)
const
;
CV_PROP_RW
int
nfeatures
;
...
...
@@ -111,8 +109,8 @@ public:
CV_WRAP
SURF
();
//! the full constructor taking all the necessary parameters
explicit
CV_WRAP
SURF
(
double
hessianThreshold
,
int
nOctaves
=
4
,
int
nOctaveLayers
=
2
,
bool
extended
=
true
,
bool
upright
=
false
);
int
nOctaves
=
4
,
int
nOctaveLayers
=
2
,
bool
extended
=
true
,
bool
upright
=
false
);
//! returns the descriptor size in float's (64 or 128)
CV_WRAP
int
descriptorSize
()
const
;
...
...
@@ -127,7 +125,7 @@ public:
void
operator
()(
InputArray
img
,
InputArray
mask
,
CV_OUT
std
::
vector
<
KeyPoint
>&
keypoints
,
OutputArray
descriptors
,
bool
useProvidedKeypoints
=
false
)
const
;
bool
useProvidedKeypoints
=
false
)
const
;
AlgorithmInfo
*
info
()
const
;
...
...
@@ -139,7 +137,7 @@ public:
protected
:
void
detectImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
const
Mat
&
mask
=
Mat
()
)
const
;
void
detectImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
const
Mat
&
mask
=
Mat
()
)
const
;
void
computeImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
Mat
&
descriptors
)
const
;
};
...
...
@@ -148,8 +146,4 @@ typedef SURF SurfDescriptorExtractor;
}
/* namespace cv */
#endif
/* __cplusplus */
#endif
/* End of file. */
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