[GRASS-dev] [GRASS GIS] #2535: Enhancement request - i.segment handle large images above 2 billion pixels

#2535: Enhancement request - i.segment handle large images above 2 billion pixels
-------------------------+--------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: svn-releasebranch70
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
I have a 3.6 billion pixel RGB image. i.segment currently fails with the
following error message.

i.segment -d group=bsl_2012@bsl_landcover
output=bsl_2012allarea_diff20_min50 threshold=.20 minsize=50 memory=15000
Loading input bands...
Processing pass 1...
ERROR: Invalid region id -2147480082

Looking in createsegs.c and iseg.h , it appears that the region stats are
int variables, topping out at about 2 billion.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2535&gt;
GRASS GIS <http://grass.osgeo.org>