enum cv::BorderTypes
Overview
Various border types, image boundaries are denoted with |
#include <base.hpp> enum BorderTypes { BORDER_CONSTANT = 0, BORDER_REPLICATE = 1, BORDER_REFLECT = 2, BORDER_WRAP = 3, BORDER_REFLECT_101 = 4, BORDER_TRANSPARENT = 5, BORDER_REFLECT101 = BORDER_REFLECT_101, BORDER_DEFAULT = BORDER_REFLECT_101, BORDER_ISOLATED = 16, };
Detailed Documentation
Various border types, image boundaries are denoted with |
See also:
borderInterpolate, copyMakeBorder
Enum Values
BORDER_CONSTANT
iiiiii|abcdefgh|iiiiiii
with some specified i
BORDER_REPLICATE
aaaaaa|abcdefgh|hhhhhhh
BORDER_REFLECT
fedcba|abcdefgh|hgfedcb
BORDER_WRAP
cdefgh|abcdefgh|abcdefg
BORDER_REFLECT_101
gfedcb|abcdefgh|gfedcba
BORDER_TRANSPARENT
uvwxyz|absdefgh|ijklmno
BORDER_REFLECT101
same as BORDER_REFLECT_101
BORDER_DEFAULT
same as BORDER_REFLECT_101
BORDER_ISOLATED
do not look outside of ROI