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
42f63555
Commit
42f63555
authored
Jun 01, 2014
by
Vlad Shakhuro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix acf feature evaluator types
parent
dda5b885
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
acffeature.hpp
apps/icf/acffeature.hpp
+9
-8
No files found.
apps/icf/acffeature.hpp
View file @
42f63555
...
...
@@ -42,6 +42,9 @@ the use of this software, even if advised of the possibility of such damage.
#ifndef __OPENCV_ADAS_ACFFEATURE_HPP__
#define __OPENCV_ADAS_ACFFEATURE_HPP__
#include <opencv2/core.hpp>
#include <vector>
namespace
cv
{
namespace
adas
...
...
@@ -49,14 +52,12 @@ namespace adas
/* Compute channel pyramid for acf features
image — image, for which
pyramid
should be computed
image — image, for which
channels
should be computed
params — pyramid computing parameter
s
channels — output array for computed channel
s
Returns vector of computed channels
*/
std
::
vector
<
Mat
>
computeChannels
(
const
Mat
&
image
);
void
computeChannels
(
cv
::
InputArray
image
,
cv
::
OutputArrayOfArrays
channels
);
class
ACFFeatureEvaluator
{
...
...
@@ -65,7 +66,7 @@ public:
ACFFeatureEvaluator
(
const
std
::
vector
<
Point
>&
features
);
/* Set channels for feature evaluation */
void
setChannels
(
c
onst
std
::
vector
<
Mat
>&
channels
);
void
setChannels
(
c
v
::
InputArrayOfArrays
channels
);
/* Set window position */
void
setPosition
(
Size
position
);
...
...
@@ -78,13 +79,13 @@ public:
Returns matrix-column of features
*/
Mat
evaluateAll
(
)
const
;
void
evaluateAll
(
cv
::
OutputArray
)
const
;
private
:
/* Features to evaluate */
std
::
vector
<
Point
>
features_
;
/* Channels for feature evaluation */
std
::
vector
<
Mat
>
channels
;
std
::
vector
<
cv
::
Mat
>
channels
;
/* Channels window position */
Size
position_
;
};
...
...
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