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
533d4fe0
Commit
533d4fe0
authored
Jun 13, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jun 13, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #988 from snosov1:3071-fix
parents
b725cbf7
982ef83f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
feature_flann_matcher.rst
...eatures2d/feature_flann_matcher/feature_flann_matcher.rst
+1
-4
SURF_FlannMatcher.cpp
samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp
+1
-1
No files found.
doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.rst
View file @
533d4fe0
...
...
@@ -85,7 +85,7 @@ This tutorial code's is shown lines below. You can also download it from `here <
std::vector< DMatch > good_matches;
for( int i = 0; i < descriptors_1.rows; i++ )
{ if( matches[i].distance < 2*min_dist )
{ if( matches[i].distance <
=
2*min_dist )
{ good_matches.push_back( matches[i]); }
}
...
...
@@ -127,6 +127,3 @@ Result
.. image:: images/Feature_FlannMatcher_Keypoints_Result.jpg
:align: center
:height: 250pt
samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp
View file @
533d4fe0
...
...
@@ -70,7 +70,7 @@ int main( int argc, char** argv )
std
::
vector
<
DMatch
>
good_matches
;
for
(
int
i
=
0
;
i
<
descriptors_1
.
rows
;
i
++
)
{
if
(
matches
[
i
].
distance
<
2
*
min_dist
)
{
if
(
matches
[
i
].
distance
<
=
2
*
min_dist
)
{
good_matches
.
push_back
(
matches
[
i
]);
}
}
...
...
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