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
24108f81
Commit
24108f81
authored
Jun 17, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated documentation
parent
4317cd1f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
15 deletions
+28
-15
arithm.rst
modules/gpuarithm/doc/arithm.rst
+0
-2
filtering.rst
modules/gpufilters/doc/filtering.rst
+0
-0
gpufilters.hpp
modules/gpufilters/include/opencv2/gpufilters.hpp
+28
-13
No files found.
modules/gpuarithm/doc/arithm.rst
View file @
24108f81
...
...
@@ -157,8 +157,6 @@ Computes a convolution (or cross-correlation) of two images.
:param stream: Stream for the asynchronous version.
.. seealso:: :ocv:func:`gpu::filter2D`
gpu::createConvolution
...
...
modules/gpufilters/doc/filtering.rst
View file @
24108f81
This diff is collapsed.
Click to expand it.
modules/gpufilters/include/opencv2/gpufilters.hpp
View file @
24108f81
...
...
@@ -72,11 +72,13 @@ public:
////////////////////////////////////////////////////////////////////////////////////////////////////
// Box Filter
//!
smooths the image using the normalized
box filter
//!
creates a normalized 2D
box filter
//! supports CV_8UC1, CV_8UC4 types
CV_EXPORTS
Ptr
<
Filter
>
createBoxFilter
(
int
srcType
,
int
dstType
,
Size
ksize
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
boxFilter
(
InputArray
src
,
OutputArray
dst
,
int
dstType
,
Size
ksize
,
Point
anchor
=
Point
(
-
1
,
-
1
),
Stream
&
stream
=
Stream
::
Null
())
__OPENCV_GPUFILTERS_DEPR_AFTER__
;
...
...
@@ -100,9 +102,12 @@ inline void blur(InputArray src, OutputArray dst, Size ksize, Point anchor, Stre
////////////////////////////////////////////////////////////////////////////////////////////////////
// Linear Filter
//! non-separable linear 2D filter
//! Creates a non-separable linear 2D filter
//! supports 1 and 4 channel CV_8U, CV_16U and CV_32F input
CV_EXPORTS
Ptr
<
Filter
>
createLinearFilter
(
int
srcType
,
int
dstType
,
InputArray
kernel
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
filter2D
(
InputArray
src
,
OutputArray
dst
,
int
ddepth
,
InputArray
kernel
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
borderType
=
BORDER_DEFAULT
,
...
...
@@ -117,10 +122,12 @@ inline void filter2D(InputArray src, OutputArray dst, int ddepth, InputArray ker
////////////////////////////////////////////////////////////////////////////////////////////////////
// Laplacian Filter
//!
applies Laplacian operator to the image
//!
creates a Laplacian operator
//! supports only ksize = 1 and ksize = 3
CV_EXPORTS
Ptr
<
Filter
>
createLaplacianFilter
(
int
srcType
,
int
dstType
,
int
ksize
=
1
,
double
scale
=
1
,
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
Laplacian
(
InputArray
src
,
OutputArray
dst
,
int
ddepth
,
int
ksize
=
1
,
double
scale
=
1
,
int
borderType
=
BORDER_DEFAULT
,
...
...
@@ -135,10 +142,12 @@ inline void Laplacian(InputArray src, OutputArray dst, int ddepth, int ksize, do
////////////////////////////////////////////////////////////////////////////////////////////////////
// Separable Linear Filter
//!
separable linear 2D
filter
//!
creates a separable linear
filter
CV_EXPORTS
Ptr
<
Filter
>
createSeparableLinearFilter
(
int
srcType
,
int
dstType
,
InputArray
rowKernel
,
InputArray
columnKernel
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
rowBorderMode
=
BORDER_DEFAULT
,
int
columnBorderMode
=
-
1
);
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
sepFilter2D
(
InputArray
src
,
OutputArray
dst
,
int
ddepth
,
InputArray
kernelX
,
InputArray
kernelY
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
rowBorderType
=
BORDER_DEFAULT
,
int
columnBorderType
=
-
1
,
Stream
&
stream
=
Stream
::
Null
())
__OPENCV_GPUFILTERS_DEPR_AFTER__
;
...
...
@@ -152,19 +161,21 @@ inline void sepFilter2D(InputArray src, OutputArray dst, int ddepth, InputArray
////////////////////////////////////////////////////////////////////////////////////////////////////
// Deriv Filter
//!
the
generalized Deriv operator
//!
creates a
generalized Deriv operator
CV_EXPORTS
Ptr
<
Filter
>
createDerivFilter
(
int
srcType
,
int
dstType
,
int
dx
,
int
dy
,
int
ksize
,
bool
normalize
=
false
,
double
scale
=
1
,
int
rowBorderMode
=
BORDER_DEFAULT
,
int
columnBorderMode
=
-
1
);
//!
the
Sobel operator
//!
creates a
Sobel operator
CV_EXPORTS
Ptr
<
Filter
>
createSobelFilter
(
int
srcType
,
int
dstType
,
int
dx
,
int
dy
,
int
ksize
=
3
,
double
scale
=
1
,
int
rowBorderMode
=
BORDER_DEFAULT
,
int
columnBorderMode
=
-
1
);
//!
the
vertical or horizontal Scharr operator
//!
creates a
vertical or horizontal Scharr operator
CV_EXPORTS
Ptr
<
Filter
>
createScharrFilter
(
int
srcType
,
int
dstType
,
int
dx
,
int
dy
,
double
scale
=
1
,
int
rowBorderMode
=
BORDER_DEFAULT
,
int
columnBorderMode
=
-
1
);
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
Sobel
(
InputArray
src
,
OutputArray
dst
,
int
ddepth
,
int
dx
,
int
dy
,
int
ksize
=
3
,
double
scale
=
1
,
int
rowBorderType
=
BORDER_DEFAULT
,
int
columnBorderType
=
-
1
,
Stream
&
stream
=
Stream
::
Null
())
__OPENCV_GPUFILTERS_DEPR_AFTER__
;
...
...
@@ -188,11 +199,13 @@ inline void Scharr(InputArray src, OutputArray dst, int ddepth, int dx, int dy,
////////////////////////////////////////////////////////////////////////////////////////////////////
// Gaussian Filter
//!
smooths the image using
Gaussian filter
//!
creates a
Gaussian filter
CV_EXPORTS
Ptr
<
Filter
>
createGaussianFilter
(
int
srcType
,
int
dstType
,
Size
ksize
,
double
sigma1
,
double
sigma2
=
0
,
int
rowBorderMode
=
BORDER_DEFAULT
,
int
columnBorderMode
=
-
1
);
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
GaussianBlur
(
InputArray
src
,
OutputArray
dst
,
Size
ksize
,
double
sigma1
,
double
sigma2
=
0
,
int
rowBorderType
=
BORDER_DEFAULT
,
int
columnBorderType
=
-
1
,
...
...
@@ -207,10 +220,12 @@ inline void GaussianBlur(InputArray src, OutputArray dst, Size ksize, double sig
////////////////////////////////////////////////////////////////////////////////////////////////////
// Morphology Filter
//!
returns
2D morphological filter
//!
creates a
2D morphological filter
//! supports CV_8UC1 and CV_8UC4 types
CV_EXPORTS
Ptr
<
Filter
>
createMorphologyFilter
(
int
op
,
int
srcType
,
InputArray
kernel
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
iterations
=
1
);
// obsolete
__OPENCV_GPUFILTERS_DEPR_BEFORE__
void
erode
(
InputArray
src
,
OutputArray
dst
,
InputArray
kernel
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
iterations
=
1
,
Stream
&
stream
=
Stream
::
Null
())
__OPENCV_GPUFILTERS_DEPR_AFTER__
;
...
...
@@ -244,12 +259,12 @@ inline void morphologyEx(InputArray src, OutputArray dst, int op, InputArray ker
////////////////////////////////////////////////////////////////////////////////////////////////////
// Image Rank Filter
//!
R
esult pixel value is the maximum of pixel values under the rectangular mask region
//!
r
esult pixel value is the maximum of pixel values under the rectangular mask region
CV_EXPORTS
Ptr
<
Filter
>
createBoxMaxFilter
(
int
srcType
,
Size
ksize
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
//!
R
esult pixel value is the maximum of pixel values under the rectangular mask region
//!
r
esult pixel value is the maximum of pixel values under the rectangular mask region
CV_EXPORTS
Ptr
<
Filter
>
createBoxMinFilter
(
int
srcType
,
Size
ksize
,
Point
anchor
=
Point
(
-
1
,
-
1
),
int
borderMode
=
BORDER_DEFAULT
,
Scalar
borderVal
=
Scalar
::
all
(
0
));
...
...
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