randomCropWindow2d
(Not recommended) Create randomized rectangular cropping window
randomCropWindow2d is not recommended. Use randomWindow2d
instead. For more information, see Version History.
Description
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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019bSee Also
centerCropWindow2d | randomCropWindow3d | imcrop
Topics
- Augment Images for Deep Learning Workflows (Deep Learning Toolbox)

