Return a copy of a PIL image as a numpy array.
im : PIL image
Input image.
flatten : bool
If true, convert the output to grey-scale.
img_array : ndarray
The different colour bands/channels are stored in the third dimension, such that a grey-image is MxN, an RGB-image MxNx3 and an RGBA-image MxNx4.
scipy.misc.factorialk
scipy.misc.imfilter
Enter search terms or a module, class or function name.