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
d6c60309
Commit
d6c60309
authored
Apr 11, 2016
by
Davis King
Browse files
fixed an array indexing error.
parent
c3a9a7c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/image_transforms/fhog.h
dlib/image_transforms/fhog.h
+1
-1
No files found.
dlib/image_transforms/fhog.h
View file @
d6c60309
...
@@ -567,7 +567,7 @@ namespace dlib
...
@@ -567,7 +567,7 @@ namespace dlib
simd8f
grad_x
,
grad_y
,
v
;
simd8f
grad_x
,
grad_y
,
v
;
get_gradient
(
y
,
x
,
img
,
grad_x
,
grad_y
,
v
);
get_gradient
(
y
,
x
,
img
,
grad_x
,
grad_y
,
v
);
float
_vv
[
4
];
float
_vv
[
8
];
v
.
store
(
_vv
);
v
.
store
(
_vv
);
// Now snap the gradient to one of 18 orientations
// Now snap the gradient to one of 18 orientations
...
...
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