Commit 40579234 authored by Davis King's avatar Davis King

Added a copy_configuration() routine to the hog_image.

parent 0a516b25
......@@ -71,6 +71,10 @@ namespace dlib
hist_cells.clear();
}
void copy_configuration (
const hog_image&
){}
template <
typename image_type
>
......
......@@ -127,6 +127,20 @@ namespace dlib
- 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 <
typename image_type
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment