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
3c6f3574
Commit
3c6f3574
authored
Dec 23, 2010
by
Vladimir Dudnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetic changes
parent
5cb81c0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
find_obj.cpp
samples/c/find_obj.cpp
+2
-2
No files found.
samples/c/find_obj.cpp
View file @
3c6f3574
...
...
@@ -30,7 +30,7 @@ void help()
#define USE_FLANN
IplImage
*
image
=
0
;
IplImage
*
image
=
0
;
double
compareSURFDescriptors
(
const
float
*
d1
,
const
float
*
d2
,
double
best
,
int
length
)
...
...
@@ -39,7 +39,7 @@ compareSURFDescriptors( const float* d1, const float* d2, double best, int lengt
assert
(
length
%
4
==
0
);
for
(
int
i
=
0
;
i
<
length
;
i
+=
4
)
{
double
t0
=
d1
[
i
]
-
d2
[
i
];
double
t0
=
d1
[
i
]
-
d2
[
i
];
double
t1
=
d1
[
i
+
1
]
-
d2
[
i
+
1
];
double
t2
=
d1
[
i
+
2
]
-
d2
[
i
+
2
];
double
t3
=
d1
[
i
+
3
]
-
d2
[
i
+
3
];
...
...
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