Cómo obtener el objeto de imagen de la matriz en Python

>>> im = PIL.Image.fromarray(numpy.uint8(I))
#where I is your array form of the image
Yucky Yacare