From 96a50d5eb0dacbd128cf00b6653e544fc6e3e045 Mon Sep 17 00:00:00 2001 From: gkaneto Date: Thu, 13 Sep 2018 22:17:12 -0300 Subject: [PATCH] Update py_basic_ops.markdown Correcting indentation of border type flags --- .../py_core/py_basic_ops/py_basic_ops.markdown | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.markdown b/doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.markdown index b0f92d72c6..1d0ebb3967 100644 --- a/doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.markdown +++ b/doc/py_tutorials/py_core/py_basic_ops/py_basic_ops.markdown @@ -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