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
d21927bc
Commit
d21927bc
authored
Nov 17, 2013
by
Davis King
Browse files
merged
parents
8c89480d
f5712fa6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dlib/image_processing/scan_fhog_pyramid.h
dlib/image_processing/scan_fhog_pyramid.h
+2
-1
No files found.
dlib/image_processing/scan_fhog_pyramid.h
View file @
d21927bc
...
...
@@ -360,7 +360,8 @@ namespace dlib
{
const
unsigned
long
num_separable_filters
=
w
.
num_separable_filters
();
rectangle
area
;
if
(
num_separable_filters
>
31
*
3
)
// use the separable filters if they would be faster than running the regular filters.
if
(
num_separable_filters
>
31
*
std
::
min
(
w
.
filters
[
0
].
nr
(),
w
.
filters
[
0
].
nc
())
/
3.0
)
{
area
=
spatially_filter_image
(
feats
[
0
],
saliency_image
,
w
.
filters
[
0
]);
for
(
unsigned
long
i
=
1
;
i
<
w
.
filters
.
size
();
++
i
)
...
...
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