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
62b4709b
Commit
62b4709b
authored
Mar 21, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
saliency: apply CV_OVERRIDE/CV_FINAL
parent
5d0a1283
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
saliencyBaseClasses.hpp
...saliency/include/opencv2/saliency/saliencyBaseClasses.hpp
+3
-3
saliencySpecializedClasses.hpp
...y/include/opencv2/saliency/saliencySpecializedClasses.hpp
+6
-6
No files found.
modules/saliency/include/opencv2/saliency/saliencyBaseClasses.hpp
View file @
62b4709b
...
...
@@ -103,7 +103,7 @@ class CV_EXPORTS_W StaticSaliency : public virtual Saliency
*/
CV_WRAP
bool
computeBinaryMap
(
InputArray
_saliencyMap
,
OutputArray
_binaryMap
);
protected
:
virtual
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
=
0
;
virtual
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
CV_OVERRIDE
=
0
;
};
...
...
@@ -112,7 +112,7 @@ class CV_EXPORTS_W MotionSaliency : public virtual Saliency
{
protected
:
virtual
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
=
0
;
virtual
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
CV_OVERRIDE
=
0
;
};
...
...
@@ -121,7 +121,7 @@ class CV_EXPORTS_W Objectness : public virtual Saliency
{
protected
:
virtual
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
=
0
;
virtual
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
CV_OVERRIDE
=
0
;
};
...
...
modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp
View file @
62b4709b
...
...
@@ -86,8 +86,8 @@ public:
return
computeSaliencyImpl
(
image
,
saliencyMap
);
}
CV_WRAP
void
read
(
const
FileNode
&
fn
);
void
write
(
FileStorage
&
fs
)
const
;
CV_WRAP
void
read
(
const
FileNode
&
fn
)
CV_OVERRIDE
;
void
write
(
FileStorage
&
fs
)
const
CV_OVERRIDE
;
CV_WRAP
int
getImageWidth
()
const
{
...
...
@@ -107,7 +107,7 @@ public:
}
protected
:
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
);
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
CV_OVERRIDE
;
CV_PROP_RW
int
resImWidth
;
CV_PROP_RW
int
resImHeight
;
...
...
@@ -140,7 +140,7 @@ public:
virtual
~
StaticSaliencyFineGrained
();
protected
:
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
);
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
CV_OVERRIDE
;
private
:
void
calcIntensityChannel
(
Mat
src
,
Mat
dst
);
...
...
@@ -222,7 +222,7 @@ protected:
The saliency map is given by a single *Mat* (one for each frame of an hypothetical video
stream).
*/
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
);
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
saliencyMap
)
CV_OVERRIDE
;
private
:
...
...
@@ -369,7 +369,7 @@ protected:
specialized algorithm, the objectnessBoundingBox is a *vector\<Vec4i\>*. Each bounding box is
represented by a *Vec4i* for (minX, minY, maxX, maxY).
*/
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
objectnessBoundingBox
);
bool
computeSaliencyImpl
(
InputArray
image
,
OutputArray
objectnessBoundingBox
)
CV_OVERRIDE
;
private
:
...
...
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