<html><body bgcolor="#FFFFFF"><div>Also, make sure you mask any Nulls since that often seems to be the problem when i.cluster doesn't work as expected, especially if you are using landsat 7 slc-off imagery - although I've also experienced it with Landsat 4 and 5 imagery. <br><br>[Sent from a mobile device]</div><div><br>On Feb 18, 2011, at 4:38 PM, Nick Jachowski <<a href="mailto:njachowski@gmail.com">njachowski@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi Ned and Daniel,<div><br></div><div>I have run into this problem in the past, and I believe it may have to do with your convergence, min_size, and classes settings. Try decreasing some of those and see if you don't get better results. You can also try increasing your separation from 0.0 (the default) to 1.0 or 1.5.</div>
<div><br></div><div>Nick</div><div><div><br><div class="gmail_quote">On Fri, Feb 18, 2011 at 4:24 PM, daniel mcinerney <span dir="ltr"><<a href="mailto:daniel.o.mcinerney@gmail.com"><a href="mailto:daniel.o.mcinerney@gmail.com">daniel.o.mcinerney@gmail.com</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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>'sample=5,5' 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><font color="#888888">Daniel.</font><div><div>
</div><div class="h5"><br><br><div class="gmail_quote">On Thu, Feb 17, 2011 at 7:49 PM, Ned Horning <span dir="ltr"><<a href="mailto:horning@amnh.org" target="_blank"><a href="mailto:horning@amnh.org">horning@amnh.org</a></a>></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'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'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"><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a></a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank"><a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a></a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org"><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a></a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank"><a href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a></a><br>
<br></blockquote></div><br></div></div>
</div></blockquote></body></html>