Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f5712fa6
Commit
f5712fa6
authored
Nov 17, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the test for using the separable vs. non-separable filters scale
with the size of the filters being applied.
parent
5edb5662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
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 @
f5712fa6
...
...
@@ -329,7 +329,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