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 considered to be 0.
- widths and heights should be odd integers (they're rounded up otherwise).