I want to split a part of an image into smaller regions and perform a function on each of the new regions individually. See attached image.
What is the prefered choise here. Should i crop the image to the region of interest first and then split it up or is there a more efficient way of doing this?
I want to store the data in a mxn matrix afterwards.