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
bc66cc27
Commit
bc66cc27
authored
Aug 08, 2014
by
jaco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
std namespace fixed
parent
cfc338b8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
saliencySpecializedClasses.hpp
...y/include/opencv2/saliency/saliencySpecializedClasses.hpp
+1
-1
motionSaliencyBinWangApr2014.cpp
modules/saliency/src/motionSaliencyBinWangApr2014.cpp
+2
-2
No files found.
modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp
View file @
bc66cc27
...
...
@@ -128,7 +128,7 @@ class CV_EXPORTS_W MotionSaliencyBinWangApr2014 : public MotionSaliency
//bool decisionThresholdAdaptation();
// changing structure
vector
<
Ptr
<
Mat
>
>
backgroundModel
;
// The vector represents the background template T0---TK of reference paper.
std
::
vector
<
Ptr
<
Mat
>
>
backgroundModel
;
// The vector represents the background template T0---TK of reference paper.
// Matrices are two-channel matrix. In the first layer there are the B (background value)
// for each pixel. In the second layer, there are the C (efficacy) value for each pixel
Mat
potentialBackground
;
// Two channel Matrix. For each pixel, in the first level there are the Ba value (potential background value)
...
...
modules/saliency/src/motionSaliencyBinWangApr2014.cpp
View file @
bc66cc27
...
...
@@ -297,7 +297,7 @@ bool MotionSaliencyBinWangApr2014::lowResolutionDetection( const Mat& image, Mat
}
bool
inline
pairCompare
(
pair
<
float
,
float
>
t
,
pair
<
float
,
float
>
t_plusOne
)
bool
inline
pairCompare
(
std
::
pair
<
float
,
float
>
t
,
std
::
pair
<
float
,
float
>
t_plusOne
)
{
return
(
t
.
second
>
t_plusOne
.
second
);
...
...
@@ -307,7 +307,7 @@ bool inline pairCompare( pair<float, float> t, pair<float, float> t_plusOne )
// Background model maintenance functions
bool
MotionSaliencyBinWangApr2014
::
templateOrdering
()
{
vector
<
pair
<
float
,
float
>
>
pixelTemplates
(
backgroundModel
.
size
()
);
std
::
vector
<
std
::
pair
<
float
,
float
>
>
pixelTemplates
(
backgroundModel
.
size
()
);
Vec2f
*
bgModel_0P
;
Vec2f
*
bgModel_1P
;
...
...
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