<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def min_max_normalize(img):
 """Centre and normalize a given array. Parameters: img: np.ndarray """


    min_img = img.min()
    max_img = img.max()

    return (img - min_img) / (max_img - min_img)