tumourkit.segmentation.hovernet.misc.utils.cropping_center
- tumourkit.segmentation.hovernet.misc.utils.cropping_center(x, crop_shape, batch=False)
Crop an input image at the centre.
- Args:
x: input array crop_shape: dimensions of cropped array
- Returns:
x: cropped array