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

Markus Metz markus.metz.giswork at gmail.com
Mon Dec 2 23:20:53 PST 2013

On Tue, Dec 3, 2013 at 1:05 AM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
> Nikos Alexandris wrote:
> ..
>> 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?
> OK, I've just discovered that I mixed 8-bit (the Pan images) for the seed map
> and 16-bit (the Multi-Spectral images).  So, seed -> 8-bit, group to be
> segmented -> 16-bit. Does this play a role?

No, the seed map must be integer (not more than 32 bit int), that's
the only limitation. The data to be segmented can be anything, integer
and/or floating point.

But it does not make sense to use a pan band as seeds when segmenting
the other bands. Seeds are typically the result of a previous run of
i.segment or the result of a previous classification of the same data.

Markus M

More information about the grass-dev mailing list