Saturday, 4 November 2017

Getting multiband raster's min and max values with Python in QGIS?


Is there anyway to have access to minimum and maximum pixel values from multi-band raster using Python in QGIS? This is QGIS and I loaded 3 different bands as rasters.


Histogram Min and Max


If there's a way to have access to them. How to do it?


GetDefaultHistogram gives different values for minimum and maximum. See below:


Intel


Is there a way to get the scale numbers from the histogram? For all bands?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...