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
2 | No.2 Revision |
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