Create rectangular center cropping window
determines the window to crop from a 2-D input image of size win
= centerCropWindow2d(inputSize
,targetSize
)inputSize
such that the size of the cropped image is targetSize
. The coordinates
of the window are centered in the input image.
centerCropWindow3d
| imcrop
| randomCropWindow2d