Feature request #6443
Singleband gray contrast stretch capabilities (min/max, percentile, etc) for singleband pseudocolor
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||15683|
The 2.0 functionality and UI for singleband gray raster contrast enhancement is excellent, with support for a min/max, percentile, and stddev stretch computed for the full or current extent.
Unfortunately, this same functionality is not available for the singleband pseudocolor, which is how many users display non-image raster data (e.g. topography, thermal data). The new cpt-city ramp support for singleband pseudocolor is a step in the right direction, but the user is limited to a classified, equal-interval colormap that needs to be manually generated.
A much more intuitive solution would be to allow the singleband gray stats functionality (specified min/max, percentile) to define the linear bounds of the available pseudocolor ramps, in addition to the classified colormap support. This is basic functionality in commercial GIS applications and other scientific visualization packages (e.g. set_clim in matplotlib).