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
9086efa8
Commit
9086efa8
authored
Apr 02, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed warnings
parent
b47a2012
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
16 deletions
+8
-16
surf_gpu.cpp
modules/nonfree/src/surf_gpu.cpp
+3
-0
test_precomp.hpp
modules/nonfree/test/test_precomp.hpp
+5
-3
test_surf.ocl.cpp
modules/nonfree/test/test_surf.ocl.cpp
+0
-11
super_resolution.cpp
samples/gpu/super_resolution.cpp
+0
-2
No files found.
modules/nonfree/src/surf_gpu.cpp
View file @
9086efa8
...
...
@@ -223,6 +223,9 @@ namespace
}
private
:
SURF_GPU_Invoker
(
const
SURF_GPU_Invoker
&
);
SURF_GPU_Invoker
&
operator
=
(
const
SURF_GPU_Invoker
&
);
SURF_GPU
&
surf_
;
int
img_cols
,
img_rows
;
...
...
modules/nonfree/test/test_precomp.hpp
View file @
9086efa8
...
...
@@ -14,14 +14,16 @@
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#include "opencv2/ts/gpu_test.hpp"
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_OCL
# include "opencv2/nonfree/ocl.hpp"
#endif
#if defined(HAVE_OPENCV_GPU) && defined(HAVE_CUDA)
#include "opencv2/ts/gpu_test.hpp"
#include "opencv2/nonfree/gpu.hpp"
#ifdef HAVE_OPENCV_GPU
# include "opencv2/nonfree/gpu.hpp"
#endif
#endif
modules/nonfree/test/test_surf.ocl.cpp
View file @
9086efa8
...
...
@@ -109,17 +109,6 @@ static int getMatchedPointsCount(const std::vector<cv::KeyPoint>& keypoints1, co
return
validCount
;
}
#define PARAM_TEST_CASE(name, ...) struct name : testing::TestWithParam< std::tr1::tuple< __VA_ARGS__ > >
#define IMPLEMENT_PARAM_CLASS(name, type) \
namespace { class name { \
public: \
name ( type arg = type ()) : val_(arg) {} \
operator type () const {return val_;} \
private: \
type val_; \
}; \
inline void PrintTo( name param, std::ostream* os) {*os << #name << "=" << testing::PrintToString(static_cast< type >(param));}}
IMPLEMENT_PARAM_CLASS
(
HessianThreshold
,
double
)
IMPLEMENT_PARAM_CLASS
(
Octaves
,
int
)
IMPLEMENT_PARAM_CLASS
(
OctaveLayers
,
int
)
...
...
samples/gpu/super_resolution.cpp
View file @
9086efa8
...
...
@@ -48,8 +48,6 @@ static Ptr<DenseOpticalFlowExt> createOptFlow(const string& name, bool useGpu)
cerr
<<
"Incorrect Optical Flow algorithm - "
<<
name
<<
endl
;
exit
(
-
1
);
}
return
Ptr
<
DenseOpticalFlowExt
>
();
}
int
main
(
int
argc
,
const
char
*
argv
[])
...
...
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