<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#ffffff">
<p style="margin-bottom: 0cm; margin-top: 0pt;">On 21/12/2010 14:26,
Monica Buescu wrote:<br>
</p>
<blockquote
cite="mid:AANLkTinSZP03mxLF2K4yKmA_QtXOC26-GU3+kVu+AyH6@mail.gmail.com"
type="cite">Greetings
<div>(It seems that I'm mail bombing to this list but I have a few
questions about GRASS usage).</div>
<div><br>
</div>
<div>I have a classification map and I want to create
segments/patches aggregated by its classigfication and assign an
patch ID. <br>
</div>
</blockquote>
<br>
If I understand your question, then r.clump is what you need.<br>
<br>
<blockquote
cite="mid:AANLkTinSZP03mxLF2K4yKmA_QtXOC26-GU3+kVu+AyH6@mail.gmail.com"
type="cite">
<div>Let me demonstrate:</div>
<div>INPUT:</div>
<div>1 1 2 2 4 4 5 5</div>
<div>5 1 2 2 2 4 5 5</div>
<div>5 1 3 3 2 2 2 5</div>
<div><br>
</div>
<div>OUTPUT</div>
<div>
<div>
<div>1 1 3 3 5 5 6 6</div>
<div>2 1 3 3 3 5 6 6</div>
<div>
2 1 4 4 3 3 3 6</div>
</div>
</div>
<div><br>
</div>
<div>I mean, instead of having the classification values I have an
Pactch ID label. Is this possible in GRASS'</div>
<div><br>
Thanks </div>
<div>Monica</div>
<br>
This mail was received via Mail-SeCure System.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="62">--
Micha Silver
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
Arava Development Co. +972-52-3665918
</pre>
</body>
</html>