lentil.rebin#
- lentil.rebin(img, factor)[source]#
Rebin an image by an integer factor.
- Parameters:
img (array_like) – Array or cube of arrays to rebin. If a cube is provided, the first dimension should index the image slices.
factor (int) – Rebinning factor
- Returns:
img – Rebinned image
- Return type:
ndarray
See also