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
4c875dc3
Commit
4c875dc3
authored
Apr 21, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3932 from nisargthakkar:Bug4243
parents
60a51b82
00094a87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
morph.cpp
modules/imgproc/src/morph.cpp
+6
-1
No files found.
modules/imgproc/src/morph.cpp
View file @
4c875dc3
...
...
@@ -1820,9 +1820,14 @@ static bool ocl_morphologyEx(InputArray _src, OutputArray _dst, int op,
#endif
void
cv
::
morphologyEx
(
InputArray
_src
,
OutputArray
_dst
,
int
op
,
InputArray
kernel
,
Point
anchor
,
int
iterations
,
InputArray
_
kernel
,
Point
anchor
,
int
iterations
,
int
borderType
,
const
Scalar
&
borderValue
)
{
Mat
kernel
=
_kernel
.
getMat
();
if
(
kernel
.
empty
())
{
kernel
=
getStructuringElement
(
MORPH_RECT
,
Size
(
3
,
3
),
Point
(
1
,
1
));
}
#ifdef HAVE_OPENCL
Size
ksize
=
kernel
.
size
();
anchor
=
normalizeAnchor
(
anchor
,
ksize
);
...
...
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