Re: Beginner in python and mahotas

43 views
Skip to first unread message

Luis Pedro Coelho

unread,
Mar 22, 2013, 1:20:42 PM3/22/13
to python...@googlegroups.com
HI,

> 1. What does f refer to, how do I know the ndarray of integer type?

f is your input image. It needs to be an integer numpy array.

I don't really know how you'd load your ASCII format, you'd have to figure that one out yourself.

Perhaps you should spend some time with numpy tutorials before considering images.

> 2. Haralick textures are often calculated in four directions, can I get one output for all the directions, how does the output code look like?

You get the four dimensions separately.

HTH,
--
Luis Pedro Coelho | University of Lisbon | http://luispedro.org


Reply all
Reply to author
Forward
0 new messages