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
e633c991
Commit
e633c991
authored
Jun 19, 2015
by
Seon-Wook Park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spatialGradient: Doc, fix dangling newline error
parent
815cd897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
imgproc.hpp
modules/imgproc/include/opencv2/imgproc.hpp
+14
-3
perf_spatialgradient.cpp
modules/imgproc/perf/perf_spatialgradient.cpp
+0
-1
No files found.
modules/imgproc/include/opencv2/imgproc.hpp
View file @
e633c991
...
...
@@ -1369,14 +1369,25 @@ CV_EXPORTS_W void Sobel( InputArray src, OutputArray dst, int ddepth,
double
scale
=
1
,
double
delta
=
0
,
int
borderType
=
BORDER_DEFAULT
);
/** @brief
TODO
/** @brief
Calculates the first order image derivative in both x and y using a Sobel operator
TODO
Equivalent to calling:
@code
Sobel( src, dx, CV_16SC1, 1, 0, 3 );
Sobel( src, dy, CV_16SC1, 0, 1, 3 );
@endcode
@param src input image.
@param dx output image with first-order derivative in x.
@param dy output image with first-order derivative in y.
@param ksize size of Sobel kernel. It must be 3.
@sa Sobel
*/
CV_EXPORTS_W
void
spatialGradient
(
InputArray
src
,
OutputArray
dx
,
OutputArray
dy
,
int
ksize
);
OutputArray
dy
,
int
ksize
=
3
);
/** @brief Calculates the first x- or y- image derivative using Scharr operator.
...
...
modules/imgproc/perf/perf_spatialgradient.cpp
View file @
e633c991
...
...
@@ -31,4 +31,3 @@ PERF_TEST_P( Size_Ksize, spatialGradient,
SANITY_CHECK
(
dx
);
SANITY_CHECK
(
dy
);
}
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