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
60f00f9f
Commit
60f00f9f
authored
May 20, 2010
by
Maria Dimashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated detectors and descriptors quality tests
parent
f1525358
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
features2d.hpp
modules/features2d/include/opencv2/features2d/features2d.hpp
+5
-5
adetectordescriptor_evaluation.cpp
tests/cv/src/adetectordescriptor_evaluation.cpp
+0
-0
No files found.
modules/features2d/include/opencv2/features2d/features2d.hpp
View file @
60f00f9f
...
@@ -1298,7 +1298,8 @@ protected:
...
@@ -1298,7 +1298,8 @@ protected:
class
CV_EXPORTS
SiftDescriptorExtractor
:
public
DescriptorExtractor
class
CV_EXPORTS
SiftDescriptorExtractor
:
public
DescriptorExtractor
{
{
public
:
public
:
SiftDescriptorExtractor
(
double
magnification
,
bool
isNormalize
=
true
,
bool
recalculateAngles
=
true
,
SiftDescriptorExtractor
(
double
magnification
=
SIFT
::
DescriptorParams
::
GET_DEFAULT_MAGNIFICATION
(),
bool
isNormalize
=
true
,
bool
recalculateAngles
=
true
,
int
nOctaves
=
SIFT
::
CommonParams
::
DEFAULT_NOCTAVES
,
int
nOctaves
=
SIFT
::
CommonParams
::
DEFAULT_NOCTAVES
,
int
nOctaveLayers
=
SIFT
::
CommonParams
::
DEFAULT_NOCTAVE_LAYERS
,
int
nOctaveLayers
=
SIFT
::
CommonParams
::
DEFAULT_NOCTAVE_LAYERS
,
int
firstOctave
=
SIFT
::
CommonParams
::
DEFAULT_FIRST_OCTAVE
,
int
firstOctave
=
SIFT
::
CommonParams
::
DEFAULT_FIRST_OCTAVE
,
...
@@ -1534,10 +1535,9 @@ void BruteForceMatcher<Distance>::matchImpl( const Mat& descriptors_1, const Mat
...
@@ -1534,10 +1535,9 @@ void BruteForceMatcher<Distance>::matchImpl( const Mat& descriptors_1, const Mat
assert
(
mask
.
empty
()
||
(
mask
.
rows
==
descriptors_1
.
rows
&&
mask
.
cols
==
descriptors_2
.
rows
)
);
assert
(
mask
.
empty
()
||
(
mask
.
rows
==
descriptors_1
.
rows
&&
mask
.
cols
==
descriptors_2
.
rows
)
);
assert
(
!
descriptors_1
.
empty
()
&&
!
descriptors_2
.
empty
()
);
assert
(
descriptors_1
.
cols
==
descriptors_2
.
cols
);
assert
(
descriptors_1
.
cols
==
descriptors_2
.
cols
);
assert
(
DataType
<
ValueType
>::
type
==
descriptors_1
.
type
()
);
assert
(
DataType
<
ValueType
>::
type
==
descriptors_1
.
type
()
||
descriptors_1
.
empty
()
);
assert
(
DataType
<
ValueType
>::
type
==
descriptors_2
.
type
()
);
assert
(
DataType
<
ValueType
>::
type
==
descriptors_2
.
type
()
||
descriptors_2
.
empty
()
);
int
dimension
=
descriptors_1
.
cols
;
int
dimension
=
descriptors_1
.
cols
;
matches
.
clear
();
matches
.
clear
();
...
@@ -1822,7 +1822,7 @@ protected:
...
@@ -1822,7 +1822,7 @@ protected:
\****************************************************************************************/
\****************************************************************************************/
/*
/*
* A
n abstract
class used for matching descriptors that can be described as vectors in a finite-dimensional space
* A class used for matching descriptors that can be described as vectors in a finite-dimensional space
*/
*/
template
<
class
Extractor
,
class
Matcher
>
template
<
class
Extractor
,
class
Matcher
>
class
CV_EXPORTS
VectorDescriptorMatch
:
public
GenericDescriptorMatch
class
CV_EXPORTS
VectorDescriptorMatch
:
public
GenericDescriptorMatch
...
...
tests/cv/src/adetectordescriptor_evaluation.cpp
View file @
60f00f9f
This diff is collapsed.
Click to expand it.
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