How to extract patches from an image

You could use unfold as described in this post.

1 Like