[GRASS-dev] [GRASS GIS] #1281: i.cluster not working with a high sample count

GRASS GIS trac at osgeo.org
Fri Feb 18 16:24:55 EST 2011


#1281: i.cluster not working with a high sample count
----------------------------+-----------------------------------------------
 Reporter:  nedhorning      |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  7.0.0                    
Component:  Default         |     Version:  unspecified              
 Keywords:  cluster sample  |    Platform:  Linux                    
      Cpu:  x86-64          |  
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1281>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list