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