BORDER_REFLECT_101 должен быть таким образом для значений границ при использовании заполнения: gfedcb | abcdefgh | gfedcba
Графически это должно быть так (верхняя левая граница изображения):
But what about those x's in the red square? How their values are decided? Thanks
The illustration below represents the upper left part of an image. If I wanted to do Gaussian Blur to this image using a 3x3 kernel, pixels (each one represented by an x) would be added. For the computation of the value of the output on the position occupied by 4 (inside the blue square) in the original image, the values of the "x" pixels inside this blue square will be needed. Now, if borderType = cv2.BORDER_REFLECT_101 I understand what values they are. But I don't get what happens if borderType=cv2.BORDER_ISOLATED
введите описание изображения здесь