[Qgis-user] pixel counting in a raster

Alex Mandel tech_dev at wildintellect.com
Wed Jul 2 12:51:11 PDT 2014


With Processing (Included in 2.2+, previously called sextante) you can
access the r.stats or r.report function directly in QGIS. If you don't
see a Processing Menu, you can enable it in the Plugin Manager.

It should be fairly straight foward to pick a loaded raster and get
results back.

Thanks,
Alex


On 07/02/2014 12:07 PM, Marco Antonio wrote:
> Hi, again.
> You'r rigth, is necesary export the raster to a grass location and mapset
> bla bla bla...
> I think there is a tool to do it in Qgis, is an experimental complement
> "processing" [https://hub.qgis.org/projects/sextante/] maybe you should
> install it.
> 
> When installed go to Processing > toolbox.
> In toolbox go to Scripts > [Example scripts]raster processing > Unique
> values count
> 
> 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
>>
>>
>>
>>
>>

> 




More information about the Qgis-user mailing list