i.cluster not working with a high sample count
|Reported by:||nedhorning||Owned by:|
|Keywords:||i.cluster, cluster sample||Cc:|
I am using i.cluster on GRASS 7.0 on a 64-bit Ubuntu computer.
If I use the default values for "sample" and "min_size" i.cluster works but if I set "sample=5,5" the resulting signature file only has one class. When I enter "sample=5,5" I assume that every fifth pixel from every fifth line is being sampled for use in calculating the cluster statistics. This is apparently too many samples for i.cluster to handle. If I use "sample=100,100" the program appears to work. I have a feeling that the sample array is not able to handle a large number of samples but have not verified this. It would be nice to be able to use "sample=1,1" even on large images.