psychopy.tools.imagetools
Functions and classes related to image handling
array2image(a)
array2image
Takes an array and returns an image object (PIL).
image2array(im)
image2array
Takes an image object (PIL) and returns a numpy array.
makeImageAuto(inarray)
makeImageAuto
Combines float_uint8 and image2array operations ie.
Combines float_uint8 and image2array operations ie. scales a numeric array from -1:1 to 0:255 and converts to PIL image format.