[Qgis-user] pixel counting in a raster
Marco Antonio
marcoajh at gmail.com
Tue Jul 1 14:02:40 PDT 2014
Hi Giacomo, the r.stats command from GRASS complement could be useful for
you.
Open the GRASS tools and go to the console, there write:
r.stats -c raster_layer_name
the c flag prints the total count of the cells that have a certain value.
Good luck
Marco
2014-07-01 12:00 GMT-05:00 Giacomo Fontanelli <giacomofontanelli76 at gmail.com
>:
> Dear Qgis Community
>
> I have a Raster layer made by pixels with 4 different values (4, 7, 17,
> 27).
>
> How can i calculate the number of pixels with value 4, with value 7, with
> value 17, with value 27?
>
> Thank you very much
>
> Giacomo
>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140701/51a84f27/attachment.html>
More information about the Qgis-user
mailing list