Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
e4be2b05
Commit
e4be2b05
authored
Oct 12, 2016
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #807 from alalek:cmake_fix_compiler_flags_detection
parents
5cb07de3
8b71f7e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
motempl.cpp
modules/optflow/src/motempl.cpp
+2
-1
CMakeLists.txt
modules/saliency/CMakeLists.txt
+2
-0
test_adaptive_manifold_ref_impl.cpp
modules/ximgproc/test/test_adaptive_manifold_ref_impl.cpp
+2
-2
No files found.
modules/optflow/src/motempl.cpp
View file @
e4be2b05
...
...
@@ -42,6 +42,7 @@
#include "precomp.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/hal/hal.hpp"
#include "opencv2/core/private.hpp"
#include "opencl_kernels_optflow.hpp"
namespace
cv
{
...
...
@@ -54,7 +55,7 @@ using std::vector;
static
bool
ocl_updateMotionHistory
(
InputArray
_silhouette
,
InputOutputArray
_mhi
,
float
timestamp
,
float
delbound
)
{
ocl
::
Kernel
k
(
"updateMotionHistory"
,
ocl
::
video
::
updatemotionhistory_oclsrc
);
ocl
::
Kernel
k
(
"updateMotionHistory"
,
ocl
::
optflow
::
updatemotionhistory_oclsrc
);
if
(
k
.
empty
())
return
false
;
...
...
modules/saliency/CMakeLists.txt
View file @
e4be2b05
...
...
@@ -2,3 +2,5 @@ set(the_description "Saliency API")
set
(
OPENCV_MODULE_IS_PART_OF_WORLD OFF
)
ocv_define_module
(
saliency opencv_imgproc opencv_highgui opencv_features2d WRAP python
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Woverloaded-virtual
)
modules/ximgproc/test/test_adaptive_manifold_ref_impl.cpp
View file @
e4be2b05
...
...
@@ -253,7 +253,7 @@ namespace
const
double
Lr
=
1.0
-
sigma_r
;
return
max
(
2
,
static_cast
<
int
>
(
ceil
(
Hs
*
Lr
)));
}
/*
void ensureSizeIsEnough(int rows, int cols, int type, Mat& m)
{
if (m.empty() || m.type() != type || m.data != m.datastart)
...
...
@@ -283,7 +283,7 @@ namespace
{
ensureSizeIsEnough(size.height, size.width, type, m);
}
*/
template
<
typename
T
>
inline
void
ensureSizeIsEnough
(
int
rows
,
int
cols
,
Mat_
<
T
>&
m
)
{
...
...
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