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
3512cb22
Unverified
Commit
3512cb22
authored
Sep 15, 2018
by
Alexander Alekhin
Committed by
GitHub
Sep 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12529 from gkaneto:master
Minor changes in docs (Python Tutorials)
parents
14b43831
96a50d5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
py_basic_ops.markdown
doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.markdown
+9
-9
py_trackbar.markdown
doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown
+1
-0
No files found.
doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.markdown
View file @
3512cb22
...
...
@@ -153,15 +153,15 @@ padding etc. This function takes following arguments:
-
**borderType**
- Flag defining what kind of border to be added. It can be following types:
-
**cv.BORDER_CONSTANT**
- Adds a constant colored border. The value should be given
as next argument.
-
**cv.BORDER_REFLECT**
- Border will be mirror reflection of the border elements,
like this :
*fedcba|abcdefgh|hgfedcb*
-
**cv.BORDER_REFLECT_101**
or
**cv.BORDER_DEFAULT**
- Same as above, but with a
slight change, like this :
*gfedcb|abcdefgh|gfedcba*
-
**cv.BORDER_REPLICATE**
- Last element is replicated throughout, like this:
*aaaaaa|abcdefgh|hhhhhhh*
-
**cv.BORDER_WRAP**
- Can't explain, it will look like this :
*cdefgh|abcdefgh|abcdefg*
as next argument.
-
**cv.BORDER_REFLECT**
- Border will be mirror reflection of the border elements,
like this :
*fedcba|abcdefgh|hgfedcb*
-
**cv.BORDER_REFLECT_101**
or
**cv.BORDER_DEFAULT**
- Same as above, but with a
slight change, like this :
*gfedcb|abcdefgh|gfedcba*
-
**cv.BORDER_REPLICATE**
- Last element is replicated throughout, like this:
*aaaaaa|abcdefgh|hhhhhhh*
-
**cv.BORDER_WRAP**
- Can't explain, it will look like this :
*cdefgh|abcdefgh|abcdefg*
-
**value**
- Color of border if border type is cv.BORDER_CONSTANT
...
...
doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown
View file @
3512cb22
...
...
@@ -37,6 +37,7 @@ cv.namedWindow('image')
# create trackbars for color change
cv.createTrackbar('R','image',0,255,nothing)
cv.createTrackbar('G','image',0,255,nothing)
cv.createTrackbar('B','image',0,255,nothing)
...
...
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