scipy.misc 介绍

转载自:https://docs.scipy.org/doc/scipy-0.18.1/reference/misc.html

 

Miscellaneous routines (scipy.misc)

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.

ascent()Get an 8-bit grayscale bit-depth, 512 x 512 derived image for easy use in demos
bytescale(data[, cmin, cmax, high, low])Byte scales an array (image).
central_diff_weights(Np[, ndiv])Return weights for an Np-point central derivative.
comb(N, k[, exact, repetition])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 a point.
face([gray])Get a 1024 x 768, color image of a raccoon face.
factorial(n[, exact])The factorial of a number or array of numbers.
factorial2(n[, exact])Double factorial.
factorialk(n, k[, exact])Multifactorial of n of order k, n(!!...!).
fromimage(im[, flatten, mode])Return a copy of a PIL image as a numpy array.
imfilter(arr, ftype)Simple filtering of an image.
imread(name[, flatten, mode])Read an image from a file as an array.
imresize(arr, size[, interp, mode])Resize an image.
imrotate(arr, angle[, interp])Rotate an image counter-clockwise by angle degrees.
imsave(name, arr[, format])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()Function that previously returned an example image
logsumexp(a[, axis, b, keepdims, return_sign])Compute the log of the sum of exponentials of input elements.
pade(an, m)Return Pade approximation to a polynomial as the ratio of two polynomials.
toimage(arr[, high, low, cmin, cmax, pal, ...])Takes a numpy array and returns a PIL image.
source(object[, output])Print or write to a file the source code for a Numpy object.
who([vardict])Print the Numpy arrays in the given dictionary.

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值