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
e92d0e4b
Commit
e92d0e4b
authored
Dec 23, 2010
by
Vladimir Dudnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetic changes
parent
c9d20500
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
features2d.hpp
modules/features2d/include/opencv2/features2d/features2d.hpp
+17
-12
No files found.
modules/features2d/include/opencv2/features2d/features2d.hpp
View file @
e92d0e4b
...
@@ -55,10 +55,12 @@ extern "C" {
...
@@ -55,10 +55,12 @@ extern "C" {
typedef
struct
CvSURFPoint
typedef
struct
CvSURFPoint
{
{
CvPoint2D32f
pt
;
CvPoint2D32f
pt
;
int
laplacian
;
int
size
;
int
laplacian
;
float
dir
;
int
size
;
float
hessian
;
float
dir
;
float
hessian
;
}
CvSURFPoint
;
}
CvSURFPoint
;
CV_INLINE
CvSURFPoint
cvSURFPoint
(
CvPoint2D32f
pt
,
int
laplacian
,
CV_INLINE
CvSURFPoint
cvSURFPoint
(
CvPoint2D32f
pt
,
int
laplacian
,
...
@@ -66,21 +68,24 @@ CV_INLINE CvSURFPoint cvSURFPoint( CvPoint2D32f pt, int laplacian,
...
@@ -66,21 +68,24 @@ CV_INLINE CvSURFPoint cvSURFPoint( CvPoint2D32f pt, int laplacian,
float
hessian
CV_DEFAULT
(
0
))
float
hessian
CV_DEFAULT
(
0
))
{
{
CvSURFPoint
kp
;
CvSURFPoint
kp
;
kp
.
pt
=
pt
;
kp
.
pt
=
pt
;
kp
.
laplacian
=
laplacian
;
kp
.
laplacian
=
laplacian
;
kp
.
size
=
size
;
kp
.
size
=
size
;
kp
.
dir
=
dir
;
kp
.
dir
=
dir
;
kp
.
hessian
=
hessian
;
kp
.
hessian
=
hessian
;
return
kp
;
return
kp
;
}
}
typedef
struct
CvSURFParams
typedef
struct
CvSURFParams
{
{
int
extended
;
int
extended
;
double
hessianThreshold
;
double
hessianThreshold
;
int
nOctaves
;
int
nOctaves
;
int
nOctaveLayers
;
int
nOctaveLayers
;
}
CvSURFParams
;
}
CvSURFParams
;
CVAPI
(
CvSURFParams
)
cvSURFParams
(
double
hessianThreshold
,
int
extended
CV_DEFAULT
(
0
)
);
CVAPI
(
CvSURFParams
)
cvSURFParams
(
double
hessianThreshold
,
int
extended
CV_DEFAULT
(
0
)
);
...
@@ -271,7 +276,7 @@ public:
...
@@ -271,7 +276,7 @@ public:
static
const
int
DEFAULT_NOCTAVES
=
4
;
static
const
int
DEFAULT_NOCTAVES
=
4
;
static
const
int
DEFAULT_NOCTAVE_LAYERS
=
3
;
static
const
int
DEFAULT_NOCTAVE_LAYERS
=
3
;
static
const
int
DEFAULT_FIRST_OCTAVE
=
-
1
;
static
const
int
DEFAULT_FIRST_OCTAVE
=
-
1
;
enum
{
FIRST_ANGLE
=
0
,
AVERAGE_ANGLE
=
1
};
enum
{
FIRST_ANGLE
=
0
,
AVERAGE_ANGLE
=
1
};
CommonParams
();
CommonParams
();
CommonParams
(
int
_nOctaves
,
int
_nOctaveLayers
,
int
_firstOctave
,
int
_angleMode
);
CommonParams
(
int
_nOctaves
,
int
_nOctaveLayers
,
int
_firstOctave
,
int
_angleMode
);
...
...
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