[GRASS-user] Creating patches in a raster file

Monica Buescu monicabuescu1985 at gmail.com
Tue Dec 21 07:26:13 EST 2010


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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101221/b842efa4/attachment.html


More information about the grass-user mailing list