<div>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</div>
<div>then I run the commond r.stats -a <a href="mailto:input=outss@PERMANENT">input=outss@PERMANENT</a> fs=space nv=* nsteps=255 </div>
<div>got the following output</div>
<div> </div>
<div>0 429847.542397<br>9321 212745757.083273<br>26425 4430667.032198<br>31744 5444337463.194785<br>32736 35683640.857434<br>32767 92624.052023</div>
<div> </div>
<div>I wonder what do the first number in each line respent? And the second number in each respent the area?</div>
<div class="gmail_quote">2009/6/17 Micha Silver <span dir="ltr">&lt;<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="DIRECTION: ltr" text="#000000" bgcolor="#ffffff">
<div class="im">
<p style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0cm">maven apache wrote:<br></p>
<blockquote type="cite">
<div>Yes</div>
<div>My tiff have 5 color, red blue green and pink and yellow. I want get the area for each color..</div>
<div>First I import the tiff .however I got a.green a.red a.blue and a.alpha four raster.<br></div></blockquote></div>Multi-band tiffs are imported as separate bands. You can combine them with r.composite. 
<div class="im"><br><br>
<blockquote type="cite">
<div><br></div>
<div class="gmail_quote">2009/6/17 Micha Silver <span dir="ltr">&lt;<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>maven apache wrote:<br><br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">can the grass calculate the area of different color for a image?<br>I have a tiff, and I have seen five color in it,I wonder I can calculate the area for each color with grass?<br>
</blockquote></div>Did you check out r.stats -a ?<br><br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>This mail was received via Mail-SeCure System.<br>------------------------------------------------------------------------<br>
<br>_______________________________________________<br>grass-user mailing list<br><a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br>This mail was received via Mail-SeCure System.<br><br><br> <br></blockquote><br></blockquote></div><br><br>This mail was received via Mail-SeCure System.<br><pre><hr size="4" width="90%">
_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


  </pre></blockquote><br></div></div></blockquote></div><br>