crop
skimage.util.crop(ar, crop_width, copy=False, order='K') [source]
Crop array ar by crop_width along each dimension. Parameters:
ar : array-like of rank N Input array. crop_width : {sequence, int} Number of values to remove from the edges of each axis. ((before_1, after_1), ... (before_N, after_N)) specifies unique crop widths at the start and end of each axis. ((before, after),) specifies a fixed start and end crop for every axis. (n,) or n for integer n is a shortcut for before = a