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
3f37e034
Commit
3f37e034
authored
Oct 17, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another fix in opencv_world
parent
8d9e6194
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
matchers.cpp
modules/stitching/src/matchers.cpp
+5
-2
No files found.
modules/stitching/src/matchers.cpp
View file @
3f37e034
...
...
@@ -48,9 +48,8 @@ using namespace cv::cuda;
#ifdef HAVE_OPENCV_XFEATURES2D
#include "opencv2/xfeatures2d.hpp"
#endif
using
xfeatures2d
::
SURF
;
#endif
namespace
{
...
...
@@ -321,6 +320,7 @@ void FeaturesFinder::operator ()(InputArray image, ImageFeatures &features, cons
SurfFeaturesFinder
::
SurfFeaturesFinder
(
double
hess_thresh
,
int
num_octaves
,
int
num_layers
,
int
num_octaves_descr
,
int
num_layers_descr
)
{
#ifdef HAVE_OPENCV_XFEATURES2D
if
(
num_octaves_descr
==
num_octaves
&&
num_layers_descr
==
num_layers
)
{
surf
=
SURF
::
create
();
...
...
@@ -345,6 +345,9 @@ SurfFeaturesFinder::SurfFeaturesFinder(double hess_thresh, int num_octaves, int
extractor_
->
set
(
SURF
::
NOCTAVES
,
num_octaves_descr
);
extractor_
->
set
(
SURF
::
NOCTAVE_LAYERS
,
num_layers_descr
);
}
#else
CV_Error
(
Error
::
StsNotImplemented
,
"OpenCV was built without SURF support"
);
#endif
}
void
SurfFeaturesFinder
::
find
(
InputArray
image
,
ImageFeatures
&
features
)
...
...
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