Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use copyMakeBorder(...) function to enlarge your image with borderType=BORDER_WRAP option. After that you can process only central part of the new image and it seems that your teask should be solved

You can use copyMakeBorder(...) function to enlarge your image with borderType=BORDER_WRAP option. After that you can process only central part of the new image and it seems that your teask task should be solved