Various utilities that don’t have another home.
Note that the Python Imaging Library (PIL) is not a dependency of SciPy and therefore the pilutil module is not available on systems that don’t have PIL installed.
bytescale(data[, cmin, cmax, high, low]) | Byte scales an array (image). |
central_diff_weights(Np[, ndiv]) | Return weights for an Np-point central derivative of order ndiv |
comb(N, k[, exact]) | The number of combinations of N things taken k at a time. |
derivative(func, x0[, dx, n, args, order]) | Find the n-th derivative of a function at point x0. |
factorial(n[, exact]) | The factorial function, n! = special.gamma(n+1). |
factorial2(n[, exact]) | Double factorial. |
factorialk(n, k[, exact]) | n(!!...!) = multifactorial of order k |
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 as an image. |
imshow(arr) | Simple showing of an image through an external viewer. |
info([object, maxwidth, output, toplevel]) | Get help information for a function, class, or module. |
lena() | Get classic image processing example image, Lena, at 8-bit grayscale |
logsumexp(a[, axis]) | Compute the log of the sum of exponentials of input elements. |
pade(an, m) | Given Taylor series coefficients in an, return a Pade approximation to |
radon(*args, **kwds) | radon is deprecated! |
toimage(arr[, high, low, cmin, cmax, pal, ...]) | Takes a numpy array and returns a PIL image. |
who([vardict]) | Print the Numpy arrays in the given dictionary. |