reform2d#
- sunkit_image.utils.reform2d(array, factor=1)[source]#
Reform a 2d array by a given factor.
- Parameters:
array (
numpy.ndarray
) – 2d array to be reformed.factor (
int
, optional) – The array is going to be magnified by the factor. Default is 1.
- Returns:
numpy.ndarray
– Reformed array.