On 21/12/2010 14:26, Monica Buescu wrote:

Greetings
(It seems that I'm mail bombing to this list but I have a few questions about GRASS usage).

I have a classification map and I want to create segments/patches aggregated by its classigfication and assign an patch ID.

If I understand your question, then r.clump is what you need.

Let me demonstrate:
INPUT:
1 1 2 2 4 4 5 5
5 1 2 2 2 4 5 5
5 1 3 3 2 2 2 5

OUTPUT
1 1 3 3 5 5 6 6
2 1 3 3 3 5 6 6
2 1 4 4 3 3 3 6

I mean, instead of having the classification values I have an Pactch ID label. Is this possible in GRASS'

Thanks 
Monica

This mail was received via Mail-SeCure System.
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user

This mail was received via Mail-SeCure System.




-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to