BorderType
Description
Defines the padding mode, which is used for padding of the ImageProcessor class.
Structure Definition
1 2 3 4 5 6 | enum class BorderType { BORDER_CONSTANT = 0, BORDER_REPLICATE = 1, BORDER_REFLECT = 2, BORDER_REFLECT_101 = 3, }; |
Parameters
Parameter |
Description |
|---|---|
BORDER_CONSTANT |
Constant colored border. |
BORDER_REPLICATE |
Last element replicated throughout For example, aaaaaa|a*****h|hhhhhhh (where * indicates any image element). |
BORDER_REFLECT |
Reflection of border elements (included). For example, ba|abc*******fgh|hg (where * indicates any image element). |
BORDER_REFLECT_101 |
Reflection of border elements (excluded). For example, cb|abc****fgh|gf (where * indicates any image element). |
Parent topic: General Data Structures