centerCropWindow2d
Create rectangular center cropping window
Description
determines the window to crop from a 2-D input image of sizewin
= centerCropWindow2d(inputSize
,targetSize
)inputSize
such that the size of the cropped image istargetSize
. The coordinates of the window are centered in the input image.
Examples
Input Arguments
Output Arguments
版本历史
See Also
centerCropWindow3d
|randomWindow2d
|imcrop
Topics
- Augment Images for Deep Learning Workflows Using Image Processing Toolbox(Deep Learning Toolbox)