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
fc02f7ff
Commit
fc02f7ff
authored
Jun 21, 2011
by
Ilya Lysenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed parentheses
parent
9f6cbb50
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
one_way_sample.cpp
samples/c/one_way_sample.cpp
+3
-3
generic_descriptor_match.cpp
samples/cpp/generic_descriptor_match.cpp
+2
-2
No files found.
samples/c/one_way_sample.cpp
View file @
fc02f7ff
...
...
@@ -17,8 +17,8 @@ void help()
{
printf
(
"
\n
This program demonstrates the one way interest point descriptor found in features2d.hpp
\n
"
"Correspondences are drawn
\n
"
);
printf
(
"Format:
\n
./one_way_sample
[path_to_samples] [image1] [image2]
\n
"
);
printf
(
"For example: ./one_way_sample .
./../../opencv/samples/c scene_l.bmp
scene_r.bmp
\n
"
);
printf
(
"Format:
\n
./one_way_sample
<path_to_samples> <image1> <image2>
\n
"
);
printf
(
"For example: ./one_way_sample .
../c/scene_l.bmp ../c/
scene_r.bmp
\n
"
);
}
using
namespace
cv
;
...
...
@@ -32,7 +32,7 @@ int main(int argc, char** argv)
const
CvSize
patch_size
=
cvSize
(
24
,
24
);
const
int
pose_count
=
50
;
if
(
argc
!=
3
&&
argc
!=
4
)
if
(
argc
!=
4
)
{
help
();
return
0
;
...
...
samples/cpp/generic_descriptor_match.cpp
View file @
fc02f7ff
...
...
@@ -10,8 +10,8 @@ using namespace cv;
void
help
()
{
printf
(
"Use the SURF descriptor for matching keypoints between 2 images
\n
"
);
printf
(
"Format:
\n
./generic_descriptor_match
[image1] [image2] [algorithm] [XML params]
\n
"
);
printf
(
"For example: ./generic_descriptor_match
scene_l.bmp
scene_r.bmp FERN fern_params.xml
\n
"
);
printf
(
"Format:
\n
./generic_descriptor_match
<image1> <image2> <algorithm> <XML params>
\n
"
);
printf
(
"For example: ./generic_descriptor_match
../c/scene_l.bmp ../c/
scene_r.bmp FERN fern_params.xml
\n
"
);
}
IplImage
*
DrawCorrespondences
(
IplImage
*
img1
,
const
vector
<
KeyPoint
>&
features1
,
IplImage
*
img2
,
...
...
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