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
be6a1be4
Commit
be6a1be4
authored
Nov 18, 2013
by
Davis King
Browse files
removed cruft
parent
f2139b50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
dlib/image_transforms/spatial_filtering.h
dlib/image_transforms/spatial_filtering.h
+0
-20
No files found.
dlib/image_transforms/spatial_filtering.h
View file @
be6a1be4
...
@@ -1139,13 +1139,6 @@ namespace dlib
...
@@ -1139,13 +1139,6 @@ namespace dlib
double
x
,
double
x
,
double
sigma
double
sigma
)
)
/*!
requires
- sigma > 0
ensures
- computes and returns the value of a 1D Gaussian function with mean 0
and standard deviation sigma at the given x value.
!*/
{
{
DLIB_ASSERT
(
sigma
>
0
,
DLIB_ASSERT
(
sigma
>
0
,
"
\t
double gaussian(x)"
"
\t
double gaussian(x)"
...
@@ -1165,19 +1158,6 @@ namespace dlib
...
@@ -1165,19 +1158,6 @@ namespace dlib
double
sigma
,
double
sigma
,
int
max_size
int
max_size
)
)
/*!
requires
- sigma > 0
- max_size > 0
- max_size is an odd number
ensures
- returns a separable Gaussian filter F such that:
- is_vector(F) == true
- F.size() <= max_size
- F is suitable for use with the spatially_filter_image_separable() routine
and its use with this function corresponds to running a Gaussian filter
of sigma width over an image.
!*/
{
{
DLIB_ASSERT
(
sigma
>
0
&&
max_size
>
0
&&
(
max_size
%
2
)
==
1
,
DLIB_ASSERT
(
sigma
>
0
&&
max_size
>
0
&&
(
max_size
%
2
)
==
1
,
"
\t
matrix<T,0,1> create_gaussian_filter()"
"
\t
matrix<T,0,1> create_gaussian_filter()"
...
...
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