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
40579234
Commit
40579234
authored
Sep 04, 2011
by
Davis King
Browse files
Added a copy_configuration() routine to the hog_image.
parent
0a516b25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
dlib/image_keypoint/hog.h
dlib/image_keypoint/hog.h
+4
-0
dlib/image_keypoint/hog_abstract.h
dlib/image_keypoint/hog_abstract.h
+14
-0
No files found.
dlib/image_keypoint/hog.h
View file @
40579234
...
@@ -71,6 +71,10 @@ namespace dlib
...
@@ -71,6 +71,10 @@ namespace dlib
hist_cells
.
clear
();
hist_cells
.
clear
();
}
}
void
copy_configuration
(
const
hog_image
&
){}
template
<
template
<
typename
image_type
typename
image_type
>
>
...
...
dlib/image_keypoint/hog_abstract.h
View file @
40579234
...
@@ -127,6 +127,20 @@ namespace dlib
...
@@ -127,6 +127,20 @@ namespace dlib
- this object will have its initial value
- this object will have its initial value
!*/
!*/
void
copy_configuration
(
const
hog_image
&
item
);
/*!
ensures
- copies all the state information of item into *this except for state
information populated by load(). More precisely, given two hog_image
objects H1 and H2, the following sequence of instructions should always
result in both of them having the exact same state.
H2.copy_configuration(H1);
H1.load(img);
H2.load(img);
!*/
template
<
template
<
typename
image_type
typename
image_type
>
>
...
...
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