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
f014fb0a
Commit
f014fb0a
authored
Mar 28, 2012
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restored the ordering of SURF constructor parameters (ticket #1704)
parent
8e3f1c09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
features2d.hpp
modules/nonfree/include/opencv2/nonfree/features2d.hpp
+2
-2
surf.cpp
modules/nonfree/src/surf.cpp
+1
-1
test_detectors.cpp
modules/nonfree/test/test_detectors.cpp
+1
-1
No files found.
modules/nonfree/include/opencv2/nonfree/features2d.hpp
View file @
f014fb0a
...
...
@@ -111,8 +111,8 @@ public:
SURF
();
//! the full constructor taking all the necessary parameters
explicit
SURF
(
double
_hessianThreshold
,
bool
_extended
=
true
,
bool
_upright
=
false
,
int
_nOctaves
=
4
,
int
_nOctaveLayers
=
2
);
int
_nOctaves
=
4
,
int
_nOctaveLayers
=
2
,
bool
_extended
=
true
,
bool
_upright
=
false
);
//! returns the descriptor size in float's (64 or 128)
int
descriptorSize
()
const
;
...
...
modules/nonfree/src/surf.cpp
View file @
f014fb0a
...
...
@@ -819,7 +819,7 @@ SURF::SURF()
nOctaveLayers
=
2
;
}
SURF
::
SURF
(
double
_threshold
,
bool
_extended
,
bool
_upright
,
int
_nOctaves
,
int
_nOctaveLayers
)
SURF
::
SURF
(
double
_threshold
,
int
_nOctaves
,
int
_nOctaveLayers
,
bool
_extended
,
bool
_upright
)
{
hessianThreshold
=
_threshold
;
extended
=
_extended
;
...
...
modules/nonfree/test/test_detectors.cpp
View file @
f014fb0a
...
...
@@ -297,7 +297,7 @@ void CV_DetectorsTest::run( int /*start_from*/ )
if
(
exp
.
empty
())
return
;
if
(
!
testDetector
(
to_test
,
SurfNoMaskWrap
(
SURF
(
1536
+
512
+
512
,
true
,
false
,
2
)),
exp
))
if
(
!
testDetector
(
to_test
,
SurfNoMaskWrap
(
SURF
(
1536
+
512
+
512
,
2
)),
exp
))
return
;
LoadExpected
(
string
(
ts
->
get_data_path
())
+
"detectors/star.xml"
,
exp
);
...
...
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