Functions and classes related to image handling
array2image(a) | Takes an array and returns an image object (PIL) |
image2array(im) | Takes an image object (PIL) and returns a numpy array |
makeImageAuto(inarray) | Combines float_uint8 and image2array operations ie. |
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. scales a numeric array from -1:1 to 0:255 and converts to PIL image format