I got a.green a.red a.blue and a.alpha four raster,then follow the advise
from this list I composite the three map g b r to a new raster:outss
then I run the commond r.stats -a input=ou...@permanent fs=space nv=*
nsteps=255
got the following output

0 429847.542397
9321 212745757.083273
26425 4430667.032198
31744 5444337463.194785
32736 35683640.857434
32767 92624.052023

I wonder what do the first number in each line respent? And the second
number in each respent the area?
2009/6/17 Micha Silver <[email protected]>

>  maven apache wrote:
>
> Yes
> My tiff have 5 color, red blue green and pink and yellow. I want get the
> area for each color..
> First I import the tiff .however I got a.green a.red a.blue and a.alpha
> four raster.
>
> Multi-band tiffs are imported as separate bands. You can combine them with
> r.composite.
>
>
> 2009/6/17 Micha Silver <[email protected]>
>
>> maven apache wrote:
>>
>> can the grass calculate the area of different color for a image?
>>> I have a tiff, and I have seen five color in it,I wonder I can calculate
>>> the area for each color with grass?
>>>
>> Did you check out r.stats -a ?
>>
>>
>>> 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.
>>>
>>>
>>>
>>>
>>
>>
>
> This mail was received via Mail-SeCure System.
>
> ------------------------------
>
> _______________________________________________
> grass-user mailing 
> [email protected]http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
>
>
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to