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
898d2e10
Commit
898d2e10
authored
Dec 07, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some typos
parent
ce597d35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spatial_filtering_abstract.h
dlib/image_transforms/spatial_filtering_abstract.h
+3
-3
No files found.
dlib/image_transforms/spatial_filtering_abstract.h
View file @
898d2e10
...
...
@@ -51,9 +51,9 @@ namespace dlib
- The filter is applied to each color channel independently.
- if (use_abs == true) then
- pixel values after filtering that are < 0 are converted to their absolute values.
- The filter is applied such that it
i
s centered over the pixel it writes its
- The filter is applied such that it
'
s centered over the pixel it writes its
output into. For centering purposes, we consider the center element of the
filter to be filter((filter.nr()-1)/2,(filter.nc-1)/2).
filter to be filter((filter.nr()-1)/2,(filter.nc
()
-1)/2).
- Pixels close enough to the edge of in_img to not have the filter still fit
inside the image are always set to zero.
- #out_img.nc() == in_img.nc()
...
...
@@ -115,7 +115,7 @@ namespace dlib
- The filter is applied to each color channel independently.
- if (use_abs == true) then
- pixel values after filtering that are < 0 are converted to their absolute values
- The filter is applied such that it
i
s centered over the pixel it writes its
- The filter is applied such that it
'
s centered over the pixel it writes its
output into. For centering purposes, we consider the center element of the
filter to be FILT((col_filter.size()-1)/2,(row_filter.size()-1)/2).
- Pixels close enough to the edge of in_img to not have the filter still fit
...
...
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