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
4c0d833d
Commit
4c0d833d
authored
Apr 11, 2017
by
Vitaly Tuzov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled vxuConvolution call for sepFilter evaluation
parent
87bb7431
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
openvx_hal.hpp
3rdparty/openvx/hal/openvx_hal.hpp
+6
-6
deriv.cpp
modules/imgproc/src/deriv.cpp
+2
-2
smooth.cpp
modules/imgproc/src/smooth.cpp
+4
-4
No files found.
3rdparty/openvx/hal/openvx_hal.hpp
View file @
4c0d833d
...
...
@@ -106,12 +106,12 @@ int ovx_hal_integral(int depth, int sdepth, int, const uchar * a, size_t astep,
#undef cv_hal_filterFree
#define cv_hal_filterFree ovx_hal_filterFree
#undef cv_hal_sepFilterInit
#define cv_hal_sepFilterInit ovx_hal_sepFilterInit
#undef cv_hal_sepFilter
#define cv_hal_sepFilter ovx_hal_filter
#undef cv_hal_sepFilterFree
#define cv_hal_sepFilterFree ovx_hal_filterFree
//
#undef cv_hal_sepFilterInit
//
#define cv_hal_sepFilterInit ovx_hal_sepFilterInit
//
#undef cv_hal_sepFilter
//
#define cv_hal_sepFilter ovx_hal_filter
//
#undef cv_hal_sepFilterFree
//
#define cv_hal_sepFilterFree ovx_hal_filterFree
#if VX_VERSION > VX_VERSION_1_0
...
...
modules/imgproc/src/deriv.cpp
View file @
4c0d833d
...
...
@@ -191,8 +191,8 @@ namespace cv
if
(
_src
.
type
()
!=
CV_8UC1
||
_dst
.
type
()
!=
CV_16SC1
||
ksize
!=
3
||
scale
!=
1.0
||
delta
!=
0.0
||
(
dx
|
dy
)
!=
1
||
(
dx
+
dy
)
!=
1
||
_src
.
cols
<
ksize
||
_src
.
rows
<
ksize
||
ovx
::
skipSmallImages
<
VX_KERNEL_SOBEL_3x3
>
(
_src
.
cols
,
_src
.
rows
)
_src
.
cols
()
<
ksize
||
_src
.
rows
()
<
ksize
||
ovx
::
skipSmallImages
<
VX_KERNEL_SOBEL_3x3
>
(
_src
.
cols
(),
_src
.
rows
()
)
)
return
false
;
...
...
modules/imgproc/src/smooth.cpp
View file @
4c0d833d
...
...
@@ -1646,11 +1646,11 @@ namespace cv
if
(
ddepth
<
0
)
ddepth
=
CV_8UC1
;
if
(
_src
.
type
()
!=
CV_8UC1
||
ddepth
!=
CV_8U
||
!
normalize
||
_src
.
cols
<
3
||
_src
.
rows
<
3
||
_src
.
cols
()
<
3
||
_src
.
rows
()
<
3
||
ksize
.
width
!=
3
||
ksize
.
height
!=
3
||
(
anchor
.
x
>=
0
&&
anchor
.
x
!=
1
)
||
(
anchor
.
y
>=
0
&&
anchor
.
y
!=
1
)
||
ovx
::
skipSmallImages
<
VX_KERNEL_BOX_3x3
>
(
_src
.
cols
,
_src
.
rows
))
ovx
::
skipSmallImages
<
VX_KERNEL_BOX_3x3
>
(
_src
.
cols
(),
_src
.
rows
()
))
return
false
;
Mat
src
=
_src
.
getMat
();
...
...
@@ -2184,7 +2184,7 @@ static bool openvx_gaussianBlur(InputArray _src, OutputArray _dst, Size ksize,
ksize
.
height
=
cvRound
(
sigma2
*
6
+
1
)
|
1
;
if
(
_src
.
type
()
!=
CV_8UC1
||
_src
.
cols
<
3
||
_src
.
rows
<
3
||
_src
.
cols
()
<
3
||
_src
.
rows
()
<
3
||
ksize
.
width
!=
3
||
ksize
.
height
!=
3
)
return
false
;
...
...
@@ -2192,7 +2192,7 @@ static bool openvx_gaussianBlur(InputArray _src, OutputArray _dst, Size ksize,
sigma2
=
std
::
max
(
sigma2
,
0.
);
if
(
!
(
sigma1
==
0.0
||
(
sigma1
-
0.8
)
<
DBL_EPSILON
)
||
!
(
sigma2
==
0.0
||
(
sigma2
-
0.8
)
<
DBL_EPSILON
)
||
ovx
::
skipSmallImages
<
VX_KERNEL_GAUSSIAN_3x3
>
(
_src
.
cols
,
_src
.
rows
))
ovx
::
skipSmallImages
<
VX_KERNEL_GAUSSIAN_3x3
>
(
_src
.
cols
(),
_src
.
rows
()
))
return
false
;
Mat
src
=
_src
.
getMat
();
...
...
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