code: def min_max_normalize(img):
      
  
      min_img = img.min()
      max_img = img.max()
  
      return (img - min_img) / (max_img - min_img)
docs: Centre and normalize a given array.
  
      Parameters:
      ----------
      img: np.ndarray