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
5f8d3d75
Commit
5f8d3d75
authored
Oct 07, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eliminate compiler warnings
parent
c1101a02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
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/saliency/CMakeLists.txt
View file @
5f8d3d75
...
...
@@ -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 @
5f8d3d75
...
...
@@ -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