Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

With BORDER_REFLECT also the outer-most border is reflected (copied), while with BORDER_REFLECT_101, the outer-most border is not part of the border. The difference is so subtle that it only matters if you apply it on small matrices (e.g. you want to build a larger kernel). If you typically use it to enlarge your image for filtering you won't see much difference. However, I probably would prefer BORDER_REFLECT_101 since it is a more natural extension and the border doesn't appear twice.