Hi Ned,<br><br>I have been using i.cluster in GRASS 7 on a 64-bit fedora server,<br>without any trouble.  However, I managed to replicate your problem<br>and create a single class output by setting the parameter<br>&#39;sample=5,5&#39; as you had done in your example. If I run i.cluster without<br>
that parameter, the signature file and classification output both <br>have the number of predefined classes. <br><br>Can you see if this helps with your data?<br><br>Regards,<br>Daniel.<br><br><div class="gmail_quote">On Thu, Feb 17, 2011 at 7:49 PM, Ned Horning <span dir="ltr">&lt;<a href="mailto:horning@amnh.org">horning@amnh.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi - I would like to do an unsupervised classification using i.cluster from GRASS 7 on my Ubuntu 64-bit machine. When I run i.cluster then i.maxlik on a Landsat image I only get one output class, the entire image. Only one class appears in the signature file so the problem is with the i.cluster step. I tried running i.cluster on different images and always get just one class.<br>

<br>
Here is the command line I&#39;m using:<br>
i.cluster group=TM_r15c33@PERMANENT subgroup=AllBands signaturefile=IsoDataSigs2 classes=20 sample=5,5 convergence=99.9 min_size=10000<br>
<br>
Is anyone able to get i.cluster to work properly? It would be helpful to know if it&#39;s a user problem or a bug.<br>
<br>
Thanks in advance to anyone who can help.<br>
<br>
All the best,<br>
<br>
Ned<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br>