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

#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&gt;
GRASS GIS <http://grass.osgeo.org>

#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: Imagery | Version: svn-trunk
Keywords: i.cluster, cluster sample | Platform: Linux
      Cpu: x86-64 |
---------------------------------------+------------------------------------
Changes (by martinl):

  * keywords: cluster sample => i.cluster, cluster sample
  * version: unspecified => svn-trunk
  * component: Default => Imagery

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1281#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1281: i.cluster not working with a high sample count
-------------------------+--------------------------------------------------
  Reporter: nedhorning | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Imagery | Version: svn-trunk
Resolution: fixed | Keywords: i.cluster, cluster sample
  Platform: Linux | Cpu: x86-64
-------------------------+--------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

I have made a test with the example in i.cluster (using r61736) and did
not run
into this problem. Likely some internal data structures have been updated
since your
report.

I take liberty to close the ticket, feel free to reopen with an example
(ideally
based on the NC sample dataset).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1281#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>