How to split image into small blocks, process on them and then join all the blocks together again?
I want to split an image into block and perform some operation on each block separately. Then join the blocks again into a single image(same shape as the original before splitting).
I am writing code in python not C++.
Any suggestions on how to do this?