A collection of image utilities using the Python Imaging Library (PIL).

Note that PIL is not a dependency of SciPy and this module is not available on systems that don’t have PIL installed.


amax(a[, axis, out]) Return the maximum of an array or maximum along an axis.
amin(a[, axis, out]) Return the minimum of an array or minimum along an axis.
arange([dtype]) Return evenly spaced values within a given interval.
array(object[, dtype, copy, order, subok, ndmin]) Create an array.
asarray(a[, dtype, order]) Convert the input to an array.
bytescale(data[, cmin, cmax, high, low]) Byte scales an array (image).
fromimage(im[, flatten]) Return a copy of a PIL image as a numpy array.
imfilter(arr, ftype) Simple filtering of an image.
imread(name[, flatten]) Read an image file from a filename.
imresize(arr, size[, interp, mode]) Resize an image.
imrotate(arr, angle[, interp]) Rotate an image counter-clockwise by angle degrees.
imsave(name, arr) Save an array to an image file.
imshow(arr) Simple showing of an image through an external viewer.
iscomplexobj(x) Return True if x is a complex type or an array of complex numbers.
issubdtype(arg1, arg2) Returns True if first argument is a typecode lower/equal in type hierarchy.
ones(shape[, dtype, order]) Return a new array of given shape and type, filled with ones.
radon(arr[, theta])
ravel(a[, order]) Return a flattened array.
sum(a[, axis, dtype, out]) Sum of array elements over a given axis.
toimage(arr[, high, low, cmin, cmax, pal, ...]) Takes a numpy array and returns a PIL image. The mode of the
transpose(a[, axes]) Permute the dimensions of an array.
zeros(shape[, dtype, order]) Return a new array of given shape and type, filled with zeros.



Previous topic


Next topic


This Page