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
e87a07e2
Commit
e87a07e2
authored
Mar 19, 2012
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug #1693. Also corrected default parameters for stitching.
parent
e50c0ed4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
matchers.hpp
...s/stitching/include/opencv2/stitching/detail/matchers.hpp
+1
-1
matchers.cpp
modules/stitching/src/matchers.cpp
+2
-2
stitching_detailed.cpp
samples/cpp/stitching_detailed.cpp
+1
-1
No files found.
modules/stitching/include/opencv2/stitching/detail/matchers.hpp
View file @
e87a07e2
...
...
@@ -169,7 +169,7 @@ protected:
class
CV_EXPORTS
BestOf2NearestMatcher
:
public
FeaturesMatcher
{
public
:
BestOf2NearestMatcher
(
bool
try_use_gpu
=
false
,
float
match_conf
=
0.
65
f
,
int
num_matches_thresh1
=
6
,
BestOf2NearestMatcher
(
bool
try_use_gpu
=
false
,
float
match_conf
=
0.
3
f
,
int
num_matches_thresh1
=
6
,
int
num_matches_thresh2
=
6
);
void
collectGarbage
();
...
...
modules/stitching/src/matchers.cpp
View file @
e87a07e2
...
...
@@ -351,9 +351,9 @@ void SurfFeaturesFinder::find(const Mat &image, ImageFeatures &features)
}
else
{
vector
<
float
>
descriptors
;
Mat
descriptors
;
(
*
surf
)(
gray_image
,
Mat
(),
features
.
keypoints
,
descriptors
);
features
.
descriptors
=
Mat
(
descriptors
,
true
)
.
reshape
(
1
,
(
int
)
features
.
keypoints
.
size
());
features
.
descriptors
=
descriptors
.
reshape
(
1
,
(
int
)
features
.
keypoints
.
size
());
}
}
...
...
samples/cpp/stitching_detailed.cpp
View file @
e87a07e2
...
...
@@ -135,7 +135,7 @@ bool save_graph = false;
std
::
string
save_graph_to
;
string
warp_type
=
"spherical"
;
int
expos_comp_type
=
ExposureCompensator
::
GAIN_BLOCKS
;
float
match_conf
=
0.
65
f
;
float
match_conf
=
0.
3
f
;
string
seam_find_type
=
"gc_color"
;
int
blend_type
=
Blender
::
MULTI_BAND
;
float
blend_strength
=
5
;
...
...
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