Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1fe548f3
Commit
1fe548f3
authored
Dec 26, 2011
by
Davis King
Browse files
Added some useful typedefs to this object.
parent
2dcc0253
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
dlib/image_keypoint/hashed_feature_image.h
dlib/image_keypoint/hashed_feature_image.h
+3
-1
dlib/image_keypoint/hashed_feature_image_abstract.h
dlib/image_keypoint/hashed_feature_image_abstract.h
+4
-2
No files found.
dlib/image_keypoint/hashed_feature_image.h
View file @
1fe548f3
...
...
@@ -17,12 +17,14 @@ namespace dlib
template
<
typename
feature_extractor
,
typename
hash_function_type
=
projection_hash
typename
hash_function_type
_
=
projection_hash
>
class
hashed_feature_image
:
noncopyable
{
public:
typedef
feature_extractor
feature_extractor_type
;
typedef
hash_function_type_
hash_function_type
;
typedef
std
::
vector
<
std
::
pair
<
unsigned
int
,
double
>
>
descriptor_type
;
...
...
dlib/image_keypoint/hashed_feature_image_abstract.h
View file @
1fe548f3
...
...
@@ -15,7 +15,7 @@ namespace dlib
template
<
typename
feature_extractor
,
typename
hash_function_type
=
projection_hash
typename
hash_function_type
_
=
projection_hash
>
class
hashed_feature_image
:
noncopyable
{
...
...
@@ -23,7 +23,7 @@ namespace dlib
REQUIREMENTS ON feature_extractor
- must be an object with an interface compatible with dlib::hog_image
REQUIREMENTS ON hash_function_type
REQUIREMENTS ON hash_function_type
_
- must be an object with an interface compatible with projection_hash
INITIAL VALUE
...
...
@@ -53,6 +53,8 @@ namespace dlib
public:
typedef
feature_extractor
feature_extractor_type
;
typedef
hash_function_type_
hash_function_type
;
typedef
std
::
vector
<
std
::
pair
<
unsigned
int
,
double
>
>
descriptor_type
;
hashed_feature_image
(
...
...
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