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
b6fe4cc8
Commit
b6fe4cc8
authored
7 years ago
by
Vitaly Tuzov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added performance tests for linear resize of 2 and 3-channel images
parent
84ee4d70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
perf_resize.cpp
modules/imgproc/perf/perf_resize.cpp
+20
-0
No files found.
modules/imgproc/perf/perf_resize.cpp
View file @
b6fe4cc8
...
...
@@ -12,7 +12,12 @@ typedef TestBaseWithParam<MatInfo_Size_Size_t> MatInfo_Size_Size;
PERF_TEST_P
(
MatInfo_Size_Size
,
resizeUpLinear
,
testing
::
Values
(
MatInfo_Size_Size_t
(
CV_8UC1
,
szVGA
,
szqHD
),
MatInfo_Size_Size_t
(
CV_8UC2
,
szVGA
,
szqHD
),
MatInfo_Size_Size_t
(
CV_8UC3
,
szVGA
,
szqHD
),
MatInfo_Size_Size_t
(
CV_8UC4
,
szVGA
,
szqHD
),
MatInfo_Size_Size_t
(
CV_8UC1
,
szVGA
,
sz720p
),
MatInfo_Size_Size_t
(
CV_8UC2
,
szVGA
,
sz720p
),
MatInfo_Size_Size_t
(
CV_8UC3
,
szVGA
,
sz720p
),
MatInfo_Size_Size_t
(
CV_8UC4
,
szVGA
,
sz720p
)
)
)
...
...
@@ -37,9 +42,24 @@ PERF_TEST_P(MatInfo_Size_Size, resizeUpLinear,
PERF_TEST_P
(
MatInfo_Size_Size
,
resizeDownLinear
,
testing
::
Values
(
MatInfo_Size_Size_t
(
CV_8UC1
,
szVGA
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC2
,
szVGA
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC3
,
szVGA
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC4
,
szVGA
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC1
,
szqHD
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC2
,
szqHD
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC3
,
szqHD
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC4
,
szqHD
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC1
,
sz720p
,
Size
(
120
*
sz720p
.
width
/
sz720p
.
height
,
120
)),
//face detection min_face_size = 20%
MatInfo_Size_Size_t
(
CV_8UC2
,
sz720p
,
Size
(
120
*
sz720p
.
width
/
sz720p
.
height
,
120
)),
//face detection min_face_size = 20%
MatInfo_Size_Size_t
(
CV_8UC3
,
sz720p
,
Size
(
120
*
sz720p
.
width
/
sz720p
.
height
,
120
)),
//face detection min_face_size = 20%
MatInfo_Size_Size_t
(
CV_8UC4
,
sz720p
,
Size
(
120
*
sz720p
.
width
/
sz720p
.
height
,
120
)),
//face detection min_face_size = 20%
MatInfo_Size_Size_t
(
CV_8UC1
,
sz720p
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC2
,
sz720p
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC3
,
sz720p
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC4
,
sz720p
,
szVGA
),
MatInfo_Size_Size_t
(
CV_8UC1
,
sz720p
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC2
,
sz720p
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC3
,
sz720p
,
szQVGA
),
MatInfo_Size_Size_t
(
CV_8UC4
,
sz720p
,
szQVGA
)
)
)
...
...
This diff is collapsed.
Click to expand it.
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