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
8237b748
Commit
8237b748
authored
Feb 26, 2015
by
Davis King
Browse files
Fixed uninitialized variable in the code I just committed
parent
86efd988
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dlib/image_transforms/fhog.h
dlib/image_transforms/fhog.h
+1
-0
No files found.
dlib/image_transforms/fhog.h
View file @
8237b748
...
...
@@ -358,6 +358,7 @@ namespace dlib
array2d
<
unsigned
char
>
angle
(
img
.
nr
(),
img
.
nc
());
array2d
<
float
>
norm
(
img
.
nr
(),
img
.
nc
());
zero_border_pixels
(
norm
,
1
,
1
);
// memory for HOG features
const
long
hog_nr
=
img
.
nr
()
-
2
;
...
...
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