dlpy.images.ImageTable.crop¶
-
ImageTable.
crop
(x=0, y=0, width=None, height=None, inplace=True)¶ Crop the images in the ImageTable
- Parameters
- xint, optional
Specify the x location of the top-left corner of the cropped images.
- yint, optional
Specify the y location of the top-left corner of the cropped images.
- widthint, optional
Specify the width of the cropped images.
- heightint, optional
Specify the height of the cropped images. If not specified, height will be set to be equal to width.
- inplacebool, optional
Specifies whether to update the original table, or to create a new one.
- Returns
ImageTable
If inplace=False
- None
If inplace=True