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
7e2f7719
Commit
7e2f7719
authored
Apr 18, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Android compatibility fix for r4885: __kernel replaced with filter_kernel
parent
31e77a3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
filter.cpp
modules/imgproc/src/filter.cpp
+6
-6
No files found.
modules/imgproc/src/filter.cpp
View file @
7e2f7719
...
...
@@ -460,9 +460,9 @@ void FilterEngine::apply(const Mat& src, Mat& dst,
* Separable linear filter *
\****************************************************************************************/
int
cv
::
getKernelType
(
const
InputArray
&
_
_kernel
,
Point
anchor
)
int
cv
::
getKernelType
(
const
InputArray
&
filter
_kernel
,
Point
anchor
)
{
Mat
_kernel
=
_
_kernel
.
getMat
();
Mat
_kernel
=
filter
_kernel
.
getMat
();
CV_Assert
(
_kernel
.
channels
()
==
1
);
int
i
,
sz
=
_kernel
.
rows
*
_kernel
.
cols
;
...
...
@@ -2884,10 +2884,10 @@ template<typename ST, class CastOp, class VecOp> struct Filter2D : public BaseFi
}
cv
::
Ptr
<
cv
::
BaseFilter
>
cv
::
getLinearFilter
(
int
srcType
,
int
dstType
,
const
InputArray
&
_
_kernel
,
Point
anchor
,
const
InputArray
&
filter
_kernel
,
Point
anchor
,
double
delta
,
int
bits
)
{
Mat
_kernel
=
_
_kernel
.
getMat
();
Mat
_kernel
=
filter
_kernel
.
getMat
();
int
sdepth
=
CV_MAT_DEPTH
(
srcType
),
ddepth
=
CV_MAT_DEPTH
(
dstType
);
int
cn
=
CV_MAT_CN
(
srcType
),
kdepth
=
_kernel
.
depth
();
CV_Assert
(
cn
==
CV_MAT_CN
(
dstType
)
&&
ddepth
>=
sdepth
);
...
...
@@ -2962,12 +2962,12 @@ cv::Ptr<cv::BaseFilter> cv::getLinearFilter(int srcType, int dstType,
cv
::
Ptr
<
cv
::
FilterEngine
>
cv
::
createLinearFilter
(
int
_srcType
,
int
_dstType
,
const
InputArray
&
_
_kernel
,
const
InputArray
&
filter
_kernel
,
Point
_anchor
,
double
_delta
,
int
_rowBorderType
,
int
_columnBorderType
,
const
Scalar
&
_borderValue
)
{
Mat
_kernel
=
_
_kernel
.
getMat
();
Mat
_kernel
=
filter
_kernel
.
getMat
();
_srcType
=
CV_MAT_TYPE
(
_srcType
);
_dstType
=
CV_MAT_TYPE
(
_dstType
);
int
cn
=
CV_MAT_CN
(
_srcType
);
...
...
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