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