extract_patches: Extract image patches and return a list
Description
Patches are rectangular (cubic) image regions centered at cx,cy (cz) with width wx and height wy (opt. depth wz)
WARNINGS:
- values outside of the image region are subject to boundary conditions. The default is to set them to 0 (Dirichlet), other boundary conditions are listed below.
- widths and heights should be odd integers (they're rounded up otherwise).