i need to calculate raster statistics for RGBN (4 channels, multiband image) rasters in QGIS.
In Arcgis if you use "calculate statistics" in ArcCatalog, statistics are calculated for every image band.
In Qgis if you use "Raster layer statistics" you get a log file with a summary of image stats, so you cannot extract statistics for each band.
Do you know how this is achieved in Qgis?
Best Answer
One way to get statistics for each band in QGIS raster layer is:
-stats
flag to a command (betweengdalinfo
and path to raster)Run a command.
As a result you will see log with simple statistics for each band.