2
나는 Mahotas로 이미지를 작성하고 이상하게 찾기가 어렵습니다.Mahotas로 이미지 읽기 및 쓰기
img = mahotas.imread('foo.png', True)
mahotas.imsave('bar.png', img)
내가 gettings이야 오류는 다음과 같습니다
ValueError: mahotas.freeimage: cannot write arrays of given type and shape.
나는 OS X에있어 및 freeimage를 설치하는 양조를 사용했다.
np == numpy 혼란 스러울 경우를 대비하여) – Ralphleon
Tx. 나는 그에 따라 대답을 향상시켰다. – luispedro