Extract four corner patches and the center patch of the specified size.
If flips is set to true, then horizontal flips of all 5 patches is also
size of patch along xDim
size of patch along yDim
if horizontal flips of patches should also be returned
patches of size patchSizeX x patchSizeY