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
dc3aa27b
Commit
dc3aa27b
authored
Nov 26, 2012
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Nov 26, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #183 from apavlenko:perf/android_filters_accuracy
parents
8286e1a5
c36dcbca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
perf_blur.cpp
modules/imgproc/perf/perf_blur.cpp
+3
-7
perf_filter2d.cpp
modules/imgproc/perf/perf_filter2d.cpp
+1
-1
No files found.
modules/imgproc/perf/perf_blur.cpp
View file @
dc3aa27b
...
...
@@ -63,11 +63,7 @@ PERF_TEST_P(Size_MatType_BorderType3x3, gaussianBlur3x3,
TEST_CYCLE
()
GaussianBlur
(
src
,
dst
,
Size
(
3
,
3
),
0
,
0
,
btype
);
#if CV_SSE2
SANITY_CHECK
(
dst
,
1
);
#else
SANITY_CHECK
(
dst
);
#endif
}
PERF_TEST_P
(
Size_MatType_BorderType3x3
,
blur3x3
,
...
...
@@ -89,7 +85,7 @@ PERF_TEST_P(Size_MatType_BorderType3x3, blur3x3,
TEST_CYCLE
()
blur
(
src
,
dst
,
Size
(
3
,
3
),
Point
(
-
1
,
-
1
),
btype
);
SANITY_CHECK
(
dst
,
1
e-3
);
SANITY_CHECK
(
dst
,
1
);
}
PERF_TEST_P
(
Size_MatType_BorderType
,
blur16x16
,
...
...
@@ -183,7 +179,7 @@ PERF_TEST_P(Size_MatType_BorderType, gaussianBlur5x5,
TEST_CYCLE
()
GaussianBlur
(
src
,
dst
,
Size
(
5
,
5
),
0
,
0
,
btype
);
SANITY_CHECK
(
dst
);
SANITY_CHECK
(
dst
,
1e-3
);
}
PERF_TEST_P
(
Size_MatType_BorderType
,
blur5x5
,
...
...
@@ -205,5 +201,5 @@ PERF_TEST_P(Size_MatType_BorderType, blur5x5,
TEST_CYCLE
()
blur
(
src
,
dst
,
Size
(
5
,
5
),
Point
(
-
1
,
-
1
),
btype
);
SANITY_CHECK
(
dst
,
1
e-3
);
SANITY_CHECK
(
dst
,
1
);
}
modules/imgproc/perf/perf_filter2d.cpp
View file @
dc3aa27b
...
...
@@ -39,7 +39,7 @@ PERF_TEST_P( TestFilter2d, Filter2d,
TEST_CYCLE
()
filter2D
(
src
,
dst
,
CV_8UC4
,
kernel
,
Point
(
1
,
1
),
0.
,
borderMode
);
SANITY_CHECK
(
dst
);
SANITY_CHECK
(
dst
,
1
);
}
PERF_TEST_P
(
Image_KernelSize
,
GaborFilter2d
,
...
...
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