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
2780747f
Commit
2780747f
authored
Jun 09, 2010
by
Maria Dimashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed L2 used in BruteForceMatcher
parent
93dc0dba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
features2d.hpp
modules/features2d/include/opencv2/features2d/features2d.hpp
+2
-2
No files found.
modules/features2d/include/opencv2/features2d/features2d.hpp
View file @
2780747f
...
...
@@ -1499,7 +1499,7 @@ struct CV_EXPORTS L2
ResultType
diff
=
a
[
i
]
-
b
[
i
];
result
+=
diff
*
diff
;
}
return
result
;
return
sqrt
(
result
)
;
}
};
...
...
@@ -1739,7 +1739,7 @@ public:
// Matches test keypoints to the training set
// image The source image
// points Test keypoints from the source image
//
class_ids A vector to be filled with keypoint class_id
s
//
indices A vector to be filled with keypoint class indice
s
virtual
void
match
(
const
Mat
&
image
,
vector
<
KeyPoint
>&
points
,
vector
<
int
>&
indices
)
=
0
;
// Clears keypoints storing in collection
...
...
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