Create randomized cuboidal cropping window
determines the window to crop from a 3-D input image of size win
= randomCropWindow3d(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.
centerCropWindow3d
| imcrop3
| randomCropWindow2d