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
f4d4b0d7
Commit
f4d4b0d7
authored
Aug 14, 2012
by
Daniil Osokin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled perf test on distance transform
parent
f66ac31d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
perf_distanceTransform.cpp
modules/imgproc/perf/perf_distanceTransform.cpp
+2
-2
perf_histogram.cpp
modules/imgproc/perf/perf_histogram.cpp
+4
-3
warpers.hpp
...es/stitching/include/opencv2/stitching/detail/warpers.hpp
+0
-0
No files found.
modules/imgproc/perf/perf_distanceTransform.cpp
View file @
f4d4b0d7
...
@@ -7,7 +7,7 @@ using namespace perf;
...
@@ -7,7 +7,7 @@ using namespace perf;
typedef
perf
::
TestBaseWithParam
<
Size
>
Size_DistanceTransform
;
typedef
perf
::
TestBaseWithParam
<
Size
>
Size_DistanceTransform
;
PERF_TEST_P
(
Size_DistanceTransform
,
icvTrueDistTrans
,
testing
::
Values
(
TYPICAL_MAT_SIZES
))
/*
PERF_TEST_P(Size_DistanceTransform, icvTrueDistTrans, testing::Values(TYPICAL_MAT_SIZES))
{
{
Size size = GetParam();
Size size = GetParam();
Mat src(size, CV_8UC1);
Mat src(size, CV_8UC1);
...
@@ -20,4 +20,4 @@ PERF_TEST_P(Size_DistanceTransform, icvTrueDistTrans, testing::Values(TYPICAL_MA
...
@@ -20,4 +20,4 @@ PERF_TEST_P(Size_DistanceTransform, icvTrueDistTrans, testing::Values(TYPICAL_MA
TEST_CYCLE() icvTrueDistTrans(&srcStub, &dstStub);
TEST_CYCLE() icvTrueDistTrans(&srcStub, &dstStub);
SANITY_CHECK(dst, 1);
SANITY_CHECK(dst, 1);
}
}
*/
modules/imgproc/perf/perf_histogram.cpp
View file @
f4d4b0d7
...
@@ -25,6 +25,8 @@ PERF_TEST_P(Size_Source, calcHist,
...
@@ -25,6 +25,8 @@ PERF_TEST_P(Size_Source, calcHist,
Mat
hist
;
Mat
hist
;
int
channels
[]
=
{
0
};
int
channels
[]
=
{
0
};
int
histSize
[]
=
{
256
};
int
histSize
[]
=
{
256
};
int
dims
=
1
;
int
numberOfImages
=
1
;
const
float
r
[]
=
{
0.0
f
,
256.0
f
};
const
float
r
[]
=
{
0.0
f
,
256.0
f
};
const
float
*
ranges
[]
=
{
r
};
const
float
*
ranges
[]
=
{
r
};
...
@@ -32,7 +34,7 @@ PERF_TEST_P(Size_Source, calcHist,
...
@@ -32,7 +34,7 @@ PERF_TEST_P(Size_Source, calcHist,
declare
.
in
(
source
,
WARMUP_RNG
).
time
(
20
).
iterations
(
1000
);
declare
.
in
(
source
,
WARMUP_RNG
).
time
(
20
).
iterations
(
1000
);
TEST_CYCLE
()
TEST_CYCLE
()
{
{
calcHist
(
&
source
,
1
,
channels
,
Mat
(),
hist
,
1
,
histSize
,
ranges
);
calcHist
(
&
source
,
numberOfImages
,
channels
,
Mat
(),
hist
,
dims
,
histSize
,
ranges
);
}
}
SANITY_CHECK
(
hist
);
SANITY_CHECK
(
hist
);
...
@@ -53,4 +55,4 @@ PERF_TEST_P(MatSize, equalizeHist,
...
@@ -53,4 +55,4 @@ PERF_TEST_P(MatSize, equalizeHist,
}
}
SANITY_CHECK
(
destination
);
SANITY_CHECK
(
destination
);
}
}
\ No newline at end of file
modules/stitching/include/opencv2/stitching/detail/warpers.hpp
View file @
f4d4b0d7
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