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
ca0962c7
Commit
ca0962c7
authored
May 31, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Megred fix for pyrhon API generator regression r8528
parent
daad7900
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
per_element_operations.rst
modules/gpu/doc/per_element_operations.rst
+0
-2
filtering.rst
modules/imgproc/doc/filtering.rst
+1
-1
gen2.py
modules/python/src2/gen2.py
+4
-2
No files found.
modules/gpu/doc/per_element_operations.rst
View file @
ca0962c7
...
...
@@ -280,8 +280,6 @@ Compares elements of two matrices.
:param b: Second source matrix with the same size and type as ``a`` .
:param sc: A scalar to be compared with ``a`` .
:param c: Destination matrix with the same size as ``a`` and the ``CV_8UC1`` type.
:param cmpop: Flag specifying the relation between the elements to be checked:
...
...
modules/imgproc/doc/filtering.rst
View file @
ca0962c7
...
...
@@ -968,7 +968,7 @@ Smoothes an image using a Gaussian filter.
.. ocv:function:: void GaussianBlur( InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT )
.. ocv:pyfunction:: cv2.GaussianBlur(src, ksize, sigma
1[, dst[, sigma2
[, borderType]]]) -> dst
.. ocv:pyfunction:: cv2.GaussianBlur(src, ksize, sigma
X[, dst[, sigmaY
[, borderType]]]) -> dst
:param src: Source image. The image can have any number of channels, which are processed independently. The depth should be ``CV_8U``, ``CV_16U``, ``CV_16S``, ``CV_32F`` or ``CV_64F``.
...
...
modules/python/src2/gen2.py
View file @
ca0962c7
...
...
@@ -216,10 +216,12 @@ class ClassInfo(object):
self
.
bases
=
decl
[
1
]
.
split
()[
1
:]
if
len
(
self
.
bases
)
>
1
:
print
"Warning: class
%
s has more than 1 base class (not supported by Python C extensions)"
%
(
self
.
name
,)
print
"Bases: "
,
self
.
bases
print
"Bases: "
,
" "
.
join
(
self
.
bases
)
print
"Only the first base class will be used"
self
.
bases
=
self
.
bases
[:
1
]
self
.
bases
=
[
self
.
bases
[
0
]
.
strip
(
","
)
]
#return sys.exit(-1)
if
self
.
bases
and
self
.
bases
[
0
]
.
startswith
(
"cv::"
):
self
.
bases
[
0
]
=
self
.
bases
[
0
][
4
:]
for
m
in
decl
[
2
]:
if
m
.
startswith
(
"="
):
self
.
wname
=
m
[
1
:]
...
...
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