My bad, I forgot to use g.region again.<br><br><div class="gmail_quote">2013/1/1 Gökçen Güner <span dir="ltr"><<a href="mailto:gokcenguner@gmail.com" target="_blank">gokcenguner@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>I'm using WinGRASS-6.5.svn-r54428-453 on Win7. I want to use i.cluster with 2 bands. Metadata of one of them is here:<br><br><a href="http://r.info" target="_blank">r.info</a> map=band4_2005@PERMANENT <br>
+----------------------------------------------------------------------------+<br> | Layer: band4_2005@PERMANENT Date: Tue Jan 01 18:30:17 2013 |<br> | Mapset: PERMANENT Login of Creator: murat |<br>
| Location: newLocation |<br> | DataBase: D:\gis\grassWS |<br> | Title: ( band4_2005 ) |<br>
| Timestamp: none |<br> |----------------------------------------------------------------------------|<br> | |<br>
| Type of Map: raster Number of Categories: 255 |<br> | Data Type: CELL |<br> | Rows: 7121 |<br>
| Columns: 8081 |<br> | Total Cells: 57544801 |<br> | Projection: UTM (zone 36) |<br>
| N: 4257015 S: 4043385 Res: 30 |<br> | E: 844215 W: 601785 Res: 30 |<br> | Range of data: min = 0 max = 255 |<br>
| |<br> | Data Description: |<br> | generated by r.in.gdal |<br>
| |<br> | Comments: |<br> | r.in.gdal input="C:\Users\murat\Dropbox\projedata\qgisWS\grassData\e\ |<br>
| tm\L71175034_03420050627_B40.TIF" output="band4_2005" |<br> | |<br> +----------------------------------------------------------------------------+<br>
(Tue Jan 01 18:44:02 2013) Command finished (0 sec) <br><br>The error of i.cluster with different parameters:<br><br>i.cluster group=group2000@PERMANENT subgroup=group2000 sigfile=unsupervised_signature classes=16 sample=4,5 separation=0.5 reportfile=D:\gis\grassData\etm\unsupervised_signature<br>
ERROR: Illegal value(s) of sample intervals (4,5)<br>i.cluster group=group2000@PERMANENT subgroup=group2000 sigfile=unsupervised_signature classes=16 sample=4,5 reportfile=D:\gis\grassData\etm\unsupervised_signature<br>ERROR: Illegal value(s) of sample intervals (4,5)<br>
i.cluster group=group2000@PERMANENT subgroup=group2000 sigfile=unsupervised_signature classes=16 sample=1000, 1000 reportfile=D:\gis\grassData\etm\unsupervised_signature<br>ERROR: Illegal value(s) of sample intervals (1000, 1000)<br>
i.cluster group=group2000@PERMANENT subgroup=group2000 sigfile=unsupervised_signature classes=16 sample=81,71 reportfile=D:\gis\grassData\etm\unsupervised_signature<br>ERROR: Illegal value(s) of sample intervals (81,71)<br>
<br>What should I do?<br><br>Thanks in advance.<br><br>
</blockquote></div><br>