Jeannie Fitzgerald
2014-09-29 11:19:51 UTC
Hi,
Obtaining haralick features for a .png image I receive the following error:
Traceback (most recent call last):
File "nSOGP.py", line 742, in <module>
main(sys.argv[1:])
File "nSOGP.py", line 721, in main
features = mahotas.features.haralick(img)
File
"/usr/local/lib/python2.7/dist-packages/mahotas/features/texture.py", line
88, in haralick
cmat = np.empty((fm1, fm1), np.int32)
MemoryError
This does not happen with a. the same image converted to .jpg or b. if I
save the image with imread.imsave as uint8. (printing the img values after
std imread - they are NOT floats.)
I have haralick features obtained from Matlab and am trying to duplicate
these with Mahotas - so far the resulting values are quite different.
thanks
jeannie
Obtaining haralick features for a .png image I receive the following error:
Traceback (most recent call last):
File "nSOGP.py", line 742, in <module>
main(sys.argv[1:])
File "nSOGP.py", line 721, in main
features = mahotas.features.haralick(img)
File
"/usr/local/lib/python2.7/dist-packages/mahotas/features/texture.py", line
88, in haralick
cmat = np.empty((fm1, fm1), np.int32)
MemoryError
This does not happen with a. the same image converted to .jpg or b. if I
save the image with imread.imsave as uint8. (printing the img values after
std imread - they are NOT floats.)
I have haralick features obtained from Matlab and am trying to duplicate
these with Mahotas - so far the resulting values are quite different.
thanks
jeannie
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.