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
83f80a34
Commit
83f80a34
authored
Feb 19, 2015
by
jaco
Committed by
Vladislav Sovrasov
Oct 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows warning wip
parent
b691b744
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
saliencySpecializedClasses.hpp
...y/include/opencv2/saliency/saliencySpecializedClasses.hpp
+1
-1
perf_motionSaliencyBinWangApr2014.cpp
modules/saliency/perf/perf_motionSaliencyBinWangApr2014.cpp
+1
-1
perf_objectnessBING.cpp
modules/saliency/perf/perf_objectnessBING.cpp
+2
-2
motionSaliencyBinWangApr2014.cpp
modules/saliency/src/motionSaliencyBinWangApr2014.cpp
+1
-1
No files found.
modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp
View file @
83f80a34
...
...
@@ -270,7 +270,7 @@ private:
// long-term template, regardless of any subsequent background changes. A relatively large (eg gamma=3) will
//restrain the generation of ghosts.
int
Ainc
;
// Activity Incrementation;
uchar
Ainc
;
// Activity Incrementation;
int
Bmax
;
// Upper-bound value for pixel activity
int
Bth
;
// Max activity threshold
int
Binc
,
Bdec
;
// Threshold for pixel-level decision threshold (epslon) adaptation
...
...
modules/saliency/perf/perf_motionSaliencyBinWangApr2014.cpp
View file @
83f80a34
...
...
@@ -65,7 +65,7 @@ PERF_TEST_P(sal, motionSaliencyBinWangApr2014, testing::Values(TESTSET_NAMES))
int
startFrame
=
0
;
Mat
frame
;
Mat
saliencyMap
;
int
videoSize
=
0
;
double
videoSize
=
0
;
Ptr
<
saliency
::
Saliency
>
saliencyAlgorithm
=
saliency
::
Saliency
::
create
(
"BinWangApr2014"
);
...
...
modules/saliency/perf/perf_objectnessBING.cpp
View file @
83f80a34
...
...
@@ -58,7 +58,7 @@ typedef perf::TestBaseWithParam<std::string> sal;
void
getMatOfRects
(
const
vector
<
Vec4i
>&
saliencyMap
,
Mat
&
bbs_mat
)
{
for
(
size_t
b
=
0
;
b
<
saliencyMap
.
size
();
b
++
)
for
(
int
b
=
0
;
b
<
(
int
)
saliencyMap
.
size
();
b
++
)
{
bbs_mat
.
at
<
int
>
(
b
,
0
)
=
saliencyMap
[
b
].
val
[
0
];
bbs_mat
.
at
<
int
>
(
b
,
1
)
=
saliencyMap
[
b
].
val
[
1
];
...
...
@@ -101,7 +101,7 @@ PERF_TEST_P(sal, objectnessBING, testing::Values(BING_IMAGES))
}
//end CYCLE
//save the bounding boxes in a Mat
Mat
bbs_mat
(
saliencyMap
.
size
(),
4
,
CV_32F
);
Mat
bbs_mat
(
(
int
)
saliencyMap
.
size
(),
4
,
CV_32F
);
getMatOfRects
(
saliencyMap
,
bbs_mat
);
SANITY_CHECK
(
bbs_mat
);
...
...
modules/saliency/src/motionSaliencyBinWangApr2014.cpp
View file @
83f80a34
...
...
@@ -327,7 +327,7 @@ bool MotionSaliencyBinWangApr2014::templateOrdering()
Mat
dstMask
,
tempMat
,
dstMask2
,
dstMask3
;
Mat
convertMat1
,
convertMat2
;
int
backGroundModelSize
=
backgroundModel
.
size
();
int
backGroundModelSize
=
(
int
)
backgroundModel
.
size
();
std
::
vector
<
std
::
vector
<
Mat
>
>
channelSplit
(
backGroundModelSize
);
for
(
int
i
=
0
;
i
<
backGroundModelSize
;
i
++
)
...
...
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