Dopo aver effettuato le seguenti operazioni:<br><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong><span class="Apple-style-span" style="font-weight: normal; ">-</span>r.in.gdal -o input=1313-31.tif output=result</strong> </span></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 17px; line-height: 15px; white-space: pre;">-<strong>r.composite red=</strong></span></font><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>result</strong></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>.red green=</strong></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>result</strong></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>.green blue=</strong></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>result</strong></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>.blue levels=32 output=result_composite</strong></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong><br></strong></span></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 17px; line-height: 15px; white-space: pre;"><span class="Apple-style-span" style="font-family: arial; font-size: small; border-collapse: separate; line-height: normal; white-space: normal; ">Ho settato <b>g.region rast=result_composite</b> e ho creato il group con<b> </b></span></span></font><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>i.group group=gruppo subgroup=sottogruppo input=result.blue,result.green,result.red </strong></span></div>
<div><br></div><div>A questo punto ho avviato la clusterizzazione. <span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 17px; line-height: 15px; white-space: pre; "><strong>i.cluster group=gruppo subgroup=sottogruppo sigfile=sign classes=5 </strong></span> restituisce il seguente errore:</div>
<div><div><b><u>ERRORE: Not enough non-zero sample data points. Check your current region(and mask).</u></b></div></div><div><b><br></b></div><div><b>Ecco alcuni dati:</b></div><div><b>g.region -p:                                                   </b></div>
<div><div>projection: 99 (Transverse Mercator)                      </div><div>zone:       0</div><div>datum:      rome40</div><div>ellipsoid:  international</div><div>north:      4790000</div><div>south:      4788000</div>
<div>west:       503000</div><div>east:       506000</div><div>nsres:      0.5</div><div>ewres:      0.5</div><div>rows:       4000</div><div>cols:       6000</div><div>cells:      24000000</div></div><div><br></div><div>
<b>r.univar result.blue</b>:</div><div><div>total null and non-null cells: 2400000</div><div>total null cells: 0</div><div><br></div><div>Of the non-null cells:</div><div>----------------------</div><div>n: 240000000</div>
<div>minimum: 27</div><div>maximum: 255</div><div>range: 228</div><div>mean: 178.426</div><div>mean of absolute values: 178.426</div><div>standard deviation: 61.3704</div><div>variance: 3766.32</div><div>variation coefficient: 34.3955 %</div>
<div>sum: 4282213312</div><div><br></div><div><b>r.univar  result.red:</b></div><div><div>total null and non-null cells: 24000000</div><div>total null cells: 0</div><div><br></div><div>Of the non-null cells:</div><div>----------------------</div>
<div>n: 24000000</div><div>minimum: 47</div><div>maximum: 255</div><div>range: 208</div><div>mean: 150.578</div><div>mean of absolute values: 150.578</div><div>standard deviation: 84.7223</div><div>variance: 7177.87</div>
<div>variation coefficient: 56.2647 %</div><div>sum: 3613877038</div></div><div><br></div><div><b>r.univar result.blue:</b></div><div><div>total null and non-null cells: 24000000</div><div>total null cells: 0</div><div><br>
</div><div>Of the non-null cells:</div><div>----------------------</div><div>n: 24000000</div><div>minimum: 65</div><div>maximum: 255</div><div>range: 190</div><div>mean: 168.196</div><div>mean of absolute values: 168.196</div>
<div>standard deviation: 69.9572</div><div>variance: 4894.01</div><div>variation coefficient: 41.5927 %</div><div>sum: 4036702319</div></div><div><br></div><div><b>r.univar result_composite:</b></div><div><div>total null and non-null cells: 24000000</div>
<div>total null cells: 0</div><div><br></div><div>Of the non-null cells:</div><div>----------------------</div><div>n: 24000000</div><div>minimum: 3340</div><div>maximum: 32767</div><div>range: 29427</div><div>mean: 22889.7</div>
<div>mean of absolute values: 22889.7</div><div>standard deviation: 7924.55</div><div>variance: 6.27985e+007</div><div>variation coefficient: 34.6205 %</div><div>sum: 549353728516</div></div><div><br></div>-- <br>Pietro Arena <br>

</div>