[GRASS-dev] i.segment: Invalid region id -1

Nikos Alexandris nik at nikosalexandris.net
Mon Dec 2 10:24:13 PST 2013


Nikos Alexandris wrote:

> I am trying to (re-)segment a group of high resolution multi-spectral bands
> (QuickBird2). I work with
> 
> version=7.0.svn
> date=2013
> revision=58327M
> build_date=2013-11-29
> 
> and use a seed map (result from the Panchromatic band) and, unfortunately, I
> got twice the same error message
> 
> --%<---
> i.segment msx out=segments_msx_t0.02 threshold=0.02 minsize=4
> seed=segments_pan_t0.02 memory=10000 iterations=1000
> 
> 0..5..10..15..20..25..30..35..40..45..50..55..60..65..70..75..80..85..90..95
> ..0..5..10..15..20..25..ERROR: Invalid region id -1
> --->%--
> 
> The region I am working in is indeed large,
> 
> nsres:      0.6
> ewres:      0.6
> rows:       12384
> cols:       12303
> cells:      152360352
> 
> but (almost) the same extents didn't cause any errors in another, very
> similar, segmentation attempt (again with QuickBird2 data). What should I
> look after?

I've tested this with at least three different similar cases. All work fine 
without the seed map! All fail with a seed map supplied. I guess, the only 
real difference is time for the processes to complete, right?

Thanks, Nikos


More information about the grass-dev mailing list