【发布时间】:2012-02-11 21:21:18
【问题描述】:
我正在尝试使用 Mahotas 编写图像,但发现它非常困难。
img = mahotas.imread('foo.png', True)
mahotas.imsave('bar.png', img)
我得到的错误是:
ValueError: mahotas.freeimage: cannot write arrays of given type and shape.
我在 OS X 上并使用 brew 安装 freeimage。
【问题讨论】:
标签: python image-processing mahotas