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
d998c737
Commit
d998c737
authored
May 18, 2011
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes in opencv_stitching
parent
4567b432
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main.cpp
modules/stitching/main.cpp
+2
-2
matchers.cpp
modules/stitching/matchers.cpp
+1
-1
No files found.
modules/stitching/main.cpp
View file @
d998c737
...
...
@@ -47,7 +47,7 @@ int main(int argc, char* argv[])
int
blend_type
=
Blender
::
MULTI_BAND
;
string
result_name
=
"result.png"
;
double
work_scale
,
compose_scale
;
double
work_scale
=
-
1
,
compose_scale
=
-
1
;
bool
is_work_scale_set
=
false
,
is_compose_scale_set
=
false
;
if
(
argc
==
1
)
...
...
@@ -220,7 +220,7 @@ int main(int argc, char* argv[])
vector
<
MatchesInfo
>
pairwise_matches
;
BestOf2NearestMatcher
matcher
(
trygpu
);
if
(
user_match_conf
)
matcher
=
BestOf2NearestMatcher
(
tr
ue
,
match_conf
);
matcher
=
BestOf2NearestMatcher
(
tr
ygpu
,
match_conf
);
matcher
(
images
,
features
,
pairwise_matches
);
vector
<
int
>
indices
=
leaveBiggestComponent
(
images
,
features
,
pairwise_matches
,
conf_thresh
);
...
...
modules/stitching/matchers.cpp
View file @
d998c737
...
...
@@ -19,7 +19,7 @@ namespace
inline
CpuSurfFeaturesFinder
(
double
hess_thresh
,
int
num_octaves
,
int
num_layers
,
int
num_octaves_descr
,
int
num_layers_descr
)
{
detector_
=
new
SurfFeatureDetector
(
hess_thresh
,
num_octaves
,
num_layers
);
detector_
=
new
/*FastFeatureDetector;*/
SurfFeatureDetector
(
hess_thresh
,
num_octaves
,
num_layers
);
extractor_
=
new
SurfDescriptorExtractor
(
num_octaves_descr
,
num_layers_descr
);
}
...
...
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