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
918f3754
Commit
918f3754
authored
Jun 14, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jun 14, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #999 from snosov1:unreliable-results-fix
parents
9cbeea03
c90abb6a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
10 deletions
+14
-10
perf_reduce.cpp
modules/core/perf/perf_reduce.cpp
+2
-2
perf_cvt_color.cpp
modules/imgproc/perf/perf_cvt_color.cpp
+4
-2
perf_morph.cpp
modules/imgproc/perf/perf_morph.cpp
+2
-1
perf_remap.cpp
modules/imgproc/perf/perf_remap.cpp
+2
-1
perf_threshold.cpp
modules/imgproc/perf/perf_threshold.cpp
+1
-1
perf_optflowpyrlk.cpp
modules/video/perf/perf_optflowpyrlk.cpp
+3
-3
No files found.
modules/core/perf/perf_reduce.cpp
View file @
918f3754
...
...
@@ -34,7 +34,8 @@ PERF_TEST_P(Size_MatType_ROp, reduceR,
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
vec
);
declare
.
time
(
100
);
TEST_CYCLE
()
reduce
(
src
,
vec
,
0
,
reduceOp
,
ddepth
);
int
runs
=
15
;
TEST_CYCLE_MULTIRUN
(
runs
)
reduce
(
src
,
vec
,
0
,
reduceOp
,
ddepth
);
SANITY_CHECK
(
vec
,
1
);
}
...
...
@@ -65,4 +66,3 @@ PERF_TEST_P(Size_MatType_ROp, reduceC,
SANITY_CHECK
(
vec
,
1
);
}
modules/imgproc/perf/perf_cvt_color.cpp
View file @
918f3754
...
...
@@ -258,7 +258,8 @@ PERF_TEST_P(Size_CvtMode, cvtColor8u,
declare
.
time
(
100
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
int
runs
=
sz
.
width
<=
320
?
70
:
1
;
TEST_CYCLE_MULTIRUN
(
runs
)
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
SANITY_CHECK
(
dst
,
1
);
}
...
...
@@ -334,7 +335,8 @@ PERF_TEST_P(Size_CvtMode3, cvtColorRGB2YUV420p,
declare
.
time
(
100
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
int
runs
=
(
sz
.
width
<=
640
)
?
10
:
1
;
TEST_CYCLE_MULTIRUN
(
runs
)
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
SANITY_CHECK
(
dst
,
1
);
}
modules/imgproc/perf/perf_morph.cpp
View file @
918f3754
...
...
@@ -19,7 +19,8 @@ PERF_TEST_P(Size_MatType, erode, TYPICAL_MATS_MORPH)
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
erode
(
src
,
dst
,
noArray
());
int
runs
=
(
sz
.
width
<=
320
)
?
15
:
1
;
TEST_CYCLE_MULTIRUN
(
runs
)
erode
(
src
,
dst
,
noArray
());
SANITY_CHECK
(
dst
);
}
...
...
modules/imgproc/perf/perf_remap.cpp
View file @
918f3754
...
...
@@ -63,7 +63,8 @@ PERF_TEST_P( TestRemap, Remap,
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
).
time
(
20
);
TEST_CYCLE
()
remap
(
src
,
dst
,
map1
,
map2
,
inter_type
);
int
runs
=
(
sz
.
width
<=
640
)
?
3
:
1
;
TEST_CYCLE_MULTIRUN
(
runs
)
remap
(
src
,
dst
,
map1
,
map2
,
inter_type
);
SANITY_CHECK
(
dst
);
}
modules/imgproc/perf/perf_threshold.cpp
View file @
918f3754
...
...
@@ -32,7 +32,7 @@ PERF_TEST_P(Size_MatType_ThreshType, threshold,
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
int
runs
=
(
sz
.
width
<=
640
)
?
8
:
1
;
int
runs
=
(
sz
.
width
<=
640
)
?
40
:
1
;
TEST_CYCLE_MULTIRUN
(
runs
)
threshold
(
src
,
dst
,
thresh
,
maxval
,
threshType
);
SANITY_CHECK
(
dst
);
...
...
modules/video/perf/perf_optflowpyrlk.cpp
View file @
918f3754
...
...
@@ -165,7 +165,8 @@ PERF_TEST_P(Path_Idx_Cn_NPoints_WSize_Deriv, OpticalFlowPyrLK_self, testing::Com
declare
.
in
(
pyramid1
,
pyramid2
,
inPoints
).
out
(
outPoints
);
declare
.
time
(
400
);
TEST_CYCLE
()
int
runs
=
3
;
TEST_CYCLE_MULTIRUN
(
runs
)
{
calcOpticalFlowPyrLK
(
pyramid1
,
pyramid2
,
inPoints
,
outPoints
,
status
,
err
,
Size
(
winSize
,
winSize
),
maxLevel
,
criteria
,
...
...
@@ -217,4 +218,4 @@ PERF_TEST_P(Path_Win_Deriv_Border_Reuse, OpticalFlowPyrLK_pyr, testing::Combine(
}
SANITY_CHECK
(
pyramid
);
}
\ No newline at end of file
}
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