[Gfoss] help on unsupervised classification

Dopo aver effettuato le seguenti operazioni:

-r.in.gdal -o input=1313-31.tif output=result
-r.composite red=result.red green=result.green blue=result.blue levels=32 output=result_composite

Ho settato g.region rast=result_composite e ho creato il group con i.group group=gruppo subgroup=sottogruppo input=result.blue,result.green,result.red

A questo punto ho avviato la clusterizzazione. i.cluster group=gruppo subgroup=sottogruppo sigfile=sign classes=5 restituisce il seguente errore:

ERRORE: Not enough non-zero sample data points. Check your current region(and mask).

Ecco alcuni dati:
g.region -p:

projection: 99 (Transverse Mercator)
zone: 0
datum: rome40
ellipsoid: international
north: 4790000
south: 4788000
west: 503000
east: 506000
nsres: 0.5
ewres: 0.5
rows: 4000
cols: 6000
cells: 24000000

r.univar result.blue:

total null and non-null cells: 2400000
total null cells: 0

Of the non-null cells:

n: 240000000
minimum: 27
maximum: 255
range: 228
mean: 178.426
mean of absolute values: 178.426
standard deviation: 61.3704
variance: 3766.32
variation coefficient: 34.3955 %
sum: 4282213312

r.univar result.red:

total null and non-null cells: 24000000
total null cells: 0

Of the non-null cells:

n: 24000000
minimum: 47
maximum: 255
range: 208
mean: 150.578
mean of absolute values: 150.578
standard deviation: 84.7223
variance: 7177.87
variation coefficient: 56.2647 %
sum: 3613877038

r.univar result.blue:

total null and non-null cells: 24000000
total null cells: 0

Of the non-null cells:

n: 24000000
minimum: 65
maximum: 255
range: 190
mean: 168.196
mean of absolute values: 168.196
standard deviation: 69.9572
variance: 4894.01
variation coefficient: 41.5927 %
sum: 4036702319

r.univar result_composite:

total null and non-null cells: 24000000
total null cells: 0

Of the non-null cells:

n: 24000000
minimum: 3340
maximum: 32767
range: 29427
mean: 22889.7
mean of absolute values: 22889.7
standard deviation: 7924.55
variance: 6.27985e+007
variation coefficient: 34.6205 %
sum: 549353728516


Pietro Arena