i know i can churn out raster statistics with r.report in GRASS GIS and QGIS, but what i want is the statistics of manually-defined categories of pixel ranges.
what i have is a clipped raster (of a single band) with a range of values that has not been classified. i only know how to categorize the pixels by going to the style tab, and what i want is a count of pixels in each category that i have defined.
to elaborate further, i about ~80,000 pixels and a maximum pixel value of ~25. i want to categorize my pixels like this:
(1) no value - pixel value range 0.0 - 1.5 (2) low value - pixel value range 1.6 - 6.5 (3) medium value - pixel value range 6.6 - 15.0 (4) high value - pixel value range 15.1 - 25.0
now i want a count of the number of pixels in each category. how do i produce that statistical report? i tried the "zonal raster statistics" tool but there's something amiss here. (See attached image for an idea of what i get with a simple r.report of my raster)
I am an amateur in GIS!
r.report
on the reclassified output.raster layers unique values report
will generate table with stats for each unique value of the raster, which you could group and summarize in excel.