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
bb15c006
Commit
bb15c006
authored
11 years ago
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
11 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1703 from bitwangyaoyao:2.4_fix1480
parents
d3c0b36c
0fd872bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
filtering.cpp
modules/ocl/src/filtering.cpp
+1
-1
test_filters.cpp
modules/ocl/test/test_filters.cpp
+2
-2
No files found.
modules/ocl/src/filtering.cpp
View file @
bb15c006
...
...
@@ -451,7 +451,7 @@ void morphOp(int op, const oclMat &src, oclMat &dst, const Mat &_kernel, Point a
else
kernel
=
_kernel
;
Ptr
<
FilterEngine_GPU
>
f
=
createMorphologyFilter_GPU
(
op
,
src
.
type
(),
kernel
,
anchor
,
iterations
);
Ptr
<
Morphology
FilterEngine_GPU
>
f
=
createMorphologyFilter_GPU
(
op
,
src
.
type
(),
kernel
,
anchor
,
iterations
);
f
->
apply
(
src
,
dst
);
}
...
...
This diff is collapsed.
Click to expand it.
modules/ocl/test/test_filters.cpp
View file @
bb15c006
...
...
@@ -384,14 +384,14 @@ INSTANTIATE_TEST_CASE_P(Filter, Erode, Combine(
Values
(
CV_8UC1
,
CV_8UC3
,
CV_8UC4
,
CV_32FC1
,
CV_32FC3
,
CV_32FC4
),
Values
(
3
,
5
,
7
),
Values
(
Size
(
0
,
0
)),
// not used
testing
::
Range
(
1
,
2
),
testing
::
Range
(
1
,
4
),
Bool
()));
INSTANTIATE_TEST_CASE_P
(
Filter
,
Dilate
,
Combine
(
Values
(
CV_8UC1
,
CV_8UC3
,
CV_8UC4
,
CV_32FC1
,
CV_32FC3
,
CV_32FC4
),
Values
(
3
,
5
,
7
),
Values
(
Size
(
0
,
0
)),
// not used
testing
::
Range
(
1
,
2
),
testing
::
Range
(
1
,
4
),
Bool
()));
INSTANTIATE_TEST_CASE_P
(
Filter
,
SobelTest
,
Combine
(
...
...
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