#media de coluna media_colunas = np.mean(a, axis=0, keepdims=True) #media das linhas media_colunas = np.mean(a, axis=1, keepdims=True) #media de linhas + coluna md = np.mean(image,axis=(0,1), keepdims=True)