本文簡要介紹 python 語言中 scipy.misc.ascent
的用法。
用法:
scipy.misc.ascent()#
獲取 8 位灰度 bit-depth,512 x 512 派生圖像,以便在演示中使用
圖片來源於accent-to-the-top.jpghttp://www.public-domain-image.com/people-public-domain-images-pictures/
- None:
- ascent: ndarray
方便的圖像用於測試和演示
參數 ::
返回 ::
例子:
>>> import scipy.misc >>> ascent = scipy.misc.ascent() >>> ascent.shape (512, 512) >>> ascent.max() 255
>>> import matplotlib.pyplot as plt >>> plt.gray() >>> plt.imshow(ascent) >>> plt.show()
相關用法
- Python SciPy misc.derivative用法及代碼示例
- Python SciPy misc.face用法及代碼示例
- Python SciPy misc.central_diff_weights用法及代碼示例
- Python SciPy misc.electrocardiogram用法及代碼示例
- Python SciPy mstats.trim用法及代碼示例
- Python SciPy matlab.loadmat用法及代碼示例
- Python SciPy mstats.winsorize用法及代碼示例
- Python SciPy mstats.argstoarray用法及代碼示例
- Python SciPy matlab.savemat用法及代碼示例
- Python SciPy mstats.trima用法及代碼示例
- Python SciPy mstats.tmin用法及代碼示例
- Python SciPy mstats.tmax用法及代碼示例
- Python SciPy mstats.kruskalwallis用法及代碼示例
- Python SciPy mstats.sem用法及代碼示例
- Python SciPy mstats.zscore用法及代碼示例
- Python SciPy mstats.zmap用法及代碼示例
- Python SciPy mstats.mode用法及代碼示例
- Python SciPy mstats.hmean用法及代碼示例
- Python SciPy mstats.variation用法及代碼示例
- Python SciPy mstats.compare_medians_ms用法及代碼示例
- Python SciPy mstats.gmean用法及代碼示例
- Python SciPy mstats.pearsonr用法及代碼示例
- Python SciPy mstats.kruskal用法及代碼示例
- Python SciPy mstats.tmean用法及代碼示例
- Python SciPy mstats.mquantiles用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.misc.ascent。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。