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
22b165ca
Commit
22b165ca
authored
May 22, 2014
by
Vlad Shakhuro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use cv::Point instead of ACFFeature
parent
43061d75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
24 deletions
+3
-24
acffeature.hpp
modules/adas/include/opencv2/adas/acffeature.hpp
+3
-24
No files found.
modules/adas/include/opencv2/adas/acffeature.hpp
View file @
22b165ca
...
...
@@ -47,27 +47,6 @@ namespace cv
namespace
adas
{
class
ACFFeature
{
public
:
/* Initialize feature with zero row and col */
ACFFeature
();
/* Initialize feature with given row and col */
ACFFeature
(
int
row
,
int
col
);
private
:
/* Feature row */
int
row_
;
/* Feature col */
int
col_
;
};
/* Save ACFFeature to FileStorage */
FileStorage
&
operator
<<
(
FileStorage
&
out
,
const
ACFFeature
&
feature
);
/* Load ACFFeature from FileStorage */
FileStorage
&
operator
>>
(
FileStorage
&
in
,
ACFFeature
&
feature
);
/* Compute channel pyramid for acf features
image — image, for which pyramid should be computed
...
...
@@ -85,7 +64,7 @@ class ACFFeatureEvaluator
{
public
:
/* Construct evaluator, set features to evaluate */
ACFFeatureEvaluator
(
const
std
::
vector
<
ACFFeature
>&
features
);
ACFFeatureEvaluator
(
const
std
::
vector
<
Point
>&
features
);
/* Set channels for feature evaluation */
void
setChannels
(
const
std
::
vector
<
Mat_
<
int
>>&
channels
);
...
...
@@ -105,7 +84,7 @@ public:
private
:
/* Features to evaluate */
std
::
vector
<
ACFFeature
>
features_
;
std
::
vector
<
Point
>
features_
;
/* Channels for feature evaluation */
std
::
vector
<
Mat_
<
int
>>
channels
/* Channels window position */
...
...
@@ -123,7 +102,7 @@ private:
Returns vector of distinct acf features
*/
std
::
vector
<
ACFFeature
>
std
::
vector
<
Point
>
generateFeatures
(
Size
window_size
,
size_t
count
=
UINT_MAX
,
int
seed
=
0
);
}
/* namespace adas */
...
...
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