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