Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
8e52a098
Commit
8e52a098
authored
Jun 22, 2015
by
Aakash Chopra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ulong -> size_t
parent
37e73bcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ppf_load_match.cpp
modules/surface_matching/samples/ppf_load_match.cpp
+2
-2
No files found.
modules/surface_matching/samples/ppf_load_match.cpp
View file @
8e52a098
...
...
@@ -112,7 +112,7 @@ int main(int argc, char** argv)
(
tick2
-
tick1
)
/
cv
::
getTickFrequency
()
<<
" sec"
<<
endl
;
//check results size from match call above
ulong
results_size
=
results
.
size
();
size_t
results_size
=
results
.
size
();
cout
<<
"Number of matching poses: "
<<
results_size
;
if
(
results_size
==
0
)
{
cout
<<
endl
<<
"No matching poses found. Exiting."
<<
endl
;
...
...
@@ -120,7 +120,7 @@ int main(int argc, char** argv)
}
// Get only first N results - but adjust to results size if num of results are less than that specified by N
ulong
N
=
2
;
size_t
N
=
2
;
if
(
results_size
<
N
)
{
cout
<<
endl
<<
"Reducing matching poses to be reported (as specified in code): "
<<
N
<<
" to the number of matches found: "
<<
results_size
<<
endl
;
...
...
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