Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
1ad69aba
Commit
1ad69aba
authored
Apr 28, 2014
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes sigma in perf tests
parent
55bbca2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
perf_filters.cpp
modules/imgproc/perf/opencl/perf_filters.cpp
+2
-2
smooth.cpp
modules/imgproc/src/smooth.cpp
+1
-1
No files found.
modules/imgproc/perf/opencl/perf_filters.cpp
View file @
1ad69aba
...
...
@@ -246,14 +246,14 @@ OCL_PERF_TEST_P(GaussianBlurFixture, GaussianBlur,
const
FilterParams
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
const
int
type
=
get
<
1
>
(
params
),
ksize
=
get
<
2
>
(
params
);
const
double
eps
=
CV_MAT_DEPTH
(
type
)
<=
CV_32S
?
1
+
DBL_EPSILON
:
3e-4
;
const
double
eps
=
CV_MAT_DEPTH
(
type
)
<=
CV_32S
?
2
+
DBL_EPSILON
:
3e-4
;
checkDeviceMaxMemoryAllocSize
(
srcSize
,
type
);
UMat
src
(
srcSize
,
type
),
dst
(
srcSize
,
type
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
OCL_TEST_CYCLE
()
cv
::
GaussianBlur
(
src
,
dst
,
Size
(
ksize
,
ksize
),
0
);
OCL_TEST_CYCLE
()
cv
::
GaussianBlur
(
src
,
dst
,
Size
(
ksize
,
ksize
),
1
,
1
,
cv
::
BORDER_CONSTANT
);
SANITY_CHECK
(
dst
,
eps
);
}
...
...
modules/imgproc/src/smooth.cpp
View file @
1ad69aba
...
...
@@ -1174,7 +1174,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
return
;
#endif
#if IPP_VERSION_X100 >= 801
#if IPP_VERSION_X100 >= 801
&& 0 // these functions are slower in IPP 8.1
int
depth
=
CV_MAT_DEPTH
(
type
),
cn
=
CV_MAT_CN
(
type
);
if
((
depth
==
CV_8U
||
depth
==
CV_16U
||
depth
==
CV_16S
||
depth
==
CV_32F
)
&&
(
cn
==
1
||
cn
==
3
)
&&
...
...
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