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
caf438c6
Commit
caf438c6
authored
Feb 12, 2019
by
smirnov-alexey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes an issue with valgrind and sobelxy
parent
f8ac46ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gapi_imgproc_perf_tests_inl.hpp
modules/gapi/perf/common/gapi_imgproc_perf_tests_inl.hpp
+2
-2
gapi_imgproc_tests_inl.hpp
modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
+4
-2
No files found.
modules/gapi/perf/common/gapi_imgproc_perf_tests_inl.hpp
View file @
caf438c6
...
...
@@ -507,8 +507,8 @@ PERF_TEST_P_(SobelXYPerfTest, TestPerformance)
cv
::
GCompileArgs
compile_args
;
std
::
tie
(
cmpF
,
type
,
kernSize
,
sz
,
dtype
,
order
,
compile_args
)
=
GetParam
();
cv
::
Mat
out_mat_ocv2
=
cv
::
Mat
(
sz
,
dtype
)
;
cv
::
Mat
out_mat_gapi2
=
cv
::
Mat
(
sz
,
dtype
)
;
cv
::
Mat
out_mat_ocv2
;
cv
::
Mat
out_mat_gapi2
;
initMatsRandN
(
type
,
sz
,
dtype
,
false
);
...
...
modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
View file @
caf438c6
...
...
@@ -361,9 +361,11 @@ TEST_P(SobelXYTest, AccuracyTest)
cv
::
Size
sz
;
cv
::
GCompileArgs
compile_args
;
std
::
tie
(
cmpF
,
type
,
kernSize
,
sz
,
dtype
,
order
,
border_type
,
border_val
,
compile_args
)
=
GetParam
();
cv
::
Mat
out_mat_ocv2
;
cv
::
Mat
out_mat_gapi2
;
initMatsRandN
(
type
,
sz
,
dtype
);
cv
::
Mat
out_mat_ocv2
=
cv
::
Mat
(
sz
,
dtype
);
cv
::
Mat
out_mat_gapi2
=
cv
::
Mat
(
sz
,
dtype
);
// G-API code //////////////////////////////////////////////////////////////
cv
::
GMat
in
;
...
...
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