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
da7ff82d
Commit
da7ff82d
authored
Mar 18, 2015
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced CV_IMPL_PROPERTY macros in public headers
parent
05405e3d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
7 deletions
+56
-7
rgbd.hpp
modules/rgbd/include/opencv2/rgbd.hpp
+0
-0
saliencySpecializedClasses.hpp
...y/include/opencv2/saliency/saliencySpecializedClasses.hpp
+56
-7
No files found.
modules/rgbd/include/opencv2/rgbd.hpp
View file @
da7ff82d
This diff is collapsed.
Click to expand it.
modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp
View file @
da7ff82d
...
...
@@ -76,8 +76,22 @@ public:
void
read
(
const
FileNode
&
fn
);
void
write
(
FileStorage
&
fs
)
const
;
CV_IMPL_PROPERTY
(
int
,
ImageWidth
,
resImWidth
)
CV_IMPL_PROPERTY
(
int
,
ImageHeight
,
resImHeight
)
int
getImageWidth
()
const
{
return
resImWidth
;
}
inline
void
setImageWidth
(
int
val
)
{
resImWidth
=
val
;
}
int
getImageHeight
()
const
{
return
resImHeight
;
}
void
setImageHeight
(
int
val
)
{
resImHeight
=
val
;
}
protected
:
bool
computeSaliencyImpl
(
const
InputArray
image
,
OutputArray
saliencyMap
);
...
...
@@ -114,8 +128,22 @@ public:
*/
bool
init
();
CV_IMPL_PROPERTY
(
int
,
ImageWidth
,
imageWidth
)
CV_IMPL_PROPERTY
(
int
,
ImageHeight
,
imageHeight
)
int
getImageWidth
()
const
{
return
imageWidth
;
}
inline
void
setImageWidth
(
int
val
)
{
imageWidth
=
val
;
}
int
getImageHeight
()
const
{
return
imageHeight
;
}
void
setImageHeight
(
int
val
)
{
imageHeight
=
val
;
}
protected
:
/** @brief Performs all the operations and calls all internal functions necessary for the accomplishment of the
...
...
@@ -205,9 +233,30 @@ public:
*/
void
setBBResDir
(
std
::
string
resultsDir
);
CV_IMPL_PROPERTY
(
double
,
Base
,
_base
)
CV_IMPL_PROPERTY
(
int
,
NSS
,
_NSS
)
CV_IMPL_PROPERTY
(
int
,
W
,
_W
)
double
getBase
()
const
{
return
_base
;
}
inline
void
setBase
(
double
val
)
{
_base
=
val
;
}
int
getNSS
()
const
{
return
_NSS
;
}
void
setNSS
(
int
val
)
{
_NSS
=
val
;
}
int
getW
()
const
{
return
_W
;
}
void
setW
(
int
val
)
{
_W
=
val
;
}
protected
:
/** @brief Performs all the operations and calls all internal functions necessary for the
...
...
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