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
898d2e10
Commit
898d2e10
authored
Dec 06, 2013
by
Davis King
Browse files
fixed some typos
parent
ce597d35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dlib/image_transforms/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