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
0744092b
Commit
0744092b
authored
Dec 16, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build with gcc compiler; couple minor improvements in perf testing framework
parent
6ee1f6f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
convert.cpp
modules/core/src/convert.cpp
+1
-1
perf_stich.cpp
modules/stitching/perf/perf_stich.cpp
+2
-2
summary.py
modules/ts/misc/summary.py
+2
-2
No files found.
modules/core/src/convert.cpp
View file @
0744092b
...
...
@@ -607,7 +607,7 @@ cvtScale_( const T* src, size_t sstep,
}
//vz optimized template specialization
template
<>
static
void
template
<>
void
cvtScale_
<
short
,
short
,
float
>
(
const
short
*
src
,
size_t
sstep
,
short
*
dst
,
size_t
dstep
,
Size
size
,
float
scale
,
float
shift
)
...
...
modules/stitching/perf/perf_stich.cpp
View file @
0744092b
...
...
@@ -32,7 +32,7 @@ PERF_TEST_P( stitch, a123, testing::Values("surf", "orb"))
?
new
detail
::
BestOf2NearestMatcher
(
false
,
ORB_MATCH_CONFIDENCE
)
:
new
detail
::
BestOf2NearestMatcher
(
false
,
SURF_MATCH_CONFIDENCE
);
declare
.
time
(
30
*
20
).
iterations
(
5
0
);
declare
.
time
(
30
*
20
).
iterations
(
2
0
);
while
(
next
())
{
...
...
@@ -65,7 +65,7 @@ PERF_TEST_P( stitch, b12, testing::Values("surf", "orb"))
?
new
detail
::
BestOf2NearestMatcher
(
false
,
ORB_MATCH_CONFIDENCE
)
:
new
detail
::
BestOf2NearestMatcher
(
false
,
SURF_MATCH_CONFIDENCE
);
declare
.
time
(
30
*
20
).
iterations
(
5
0
);
declare
.
time
(
30
*
20
).
iterations
(
2
0
);
while
(
next
())
{
...
...
modules/ts/misc/summary.py
View file @
0744092b
...
...
@@ -14,7 +14,7 @@ def getSetName(tset, idx, columns, short = True):
return
prefix
name
=
tset
[
0
]
.
replace
(
".xml"
,
""
)
.
replace
(
"_"
,
"
\n
"
)
if
prefix
:
return
prefix
+
"
\n
"
+
(
"-"
*
int
(
len
(
prefix
)
*
1.7
))
+
"
\n
"
+
name
return
prefix
+
"
\n
"
+
(
"-"
*
int
(
len
(
max
(
prefix
.
split
(
"
\n
"
),
key
=
len
))
*
1.5
))
+
"
\n
"
+
name
return
name
if
__name__
==
"__main__"
:
...
...
@@ -43,7 +43,7 @@ if __name__ == "__main__":
options
.
calc_relatives
=
False
options
.
calc_cr
=
False
if
options
.
columns
:
options
.
columns
=
[
s
.
strip
()
for
s
in
options
.
columns
.
split
(
","
)]
options
.
columns
=
[
s
.
strip
()
.
replace
(
"
\\
n"
,
"
\n
"
)
for
s
in
options
.
columns
.
split
(
","
)]
# expand wildcards and filter duplicates
files
=
[]
...
...
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