Re: GLCM calculation using scikit-learn. Error when using greycomatrix

2016-10-02 Thread ioannisgkan259
Thank you very much for your quick reply, i appreciate it. It seems you always have a good answer to give me. Ioannis On Sunday, 2 October 2016 03:41:10 UTC+1, Juan Nunez-Iglesias wrote: > > Hi Ioannis, > > So, the size of the GLCM for a 32-bit image that uses all possible > intensity levels

Re: GLCM calculation using scikit-learn. Error when using greycomatrix

2016-10-01 Thread Juan Nunez-Iglesias
Hi Ioannis, So, the size of the GLCM for a 32-bit image that uses all possible intensity levels is 2**64, way too big to fit in memory. The key is: - rescale the image to be in [0, max_value-1] (for some integer max_value that you determine) - call greycomatrix on this rescaled image with the

Re: GLCM calculation using scikit-learn. Error when using greycomatrix

2016-10-01 Thread ioannisgkan259
Hello Juan, I want to thank you for your quick reply to my question the last time and i do not want to bother you with my questions. I always try to solve my problems before posting my question here. Sometime, i just cannot figure out how to fix the error. What i want to do is to create a