Feature request #6443

Singleband gray contrast stretch capabilities (min/max, percentile, etc) for singleband pseudocolor

Added by David Shean over 11 years ago. Updated about 8 years ago.

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).


#1 Updated by Radim Blazek over 11 years ago

Added. A bit crowded.

#2 Updated by Giovanni Manghi over 11 years ago

Radim Blazek wrote:

Added. A bit crowded.

Hi Radim,
can I close this ticket?

#3 Updated by Radim Blazek over 11 years ago

Yes, if you think it is OK.

#4 Updated by Médéric RIBREUX about 8 years ago

  • Status changed from Open to Closed

Hello, bug triage...

as Giovanni suggested, I am closing this ticket ;-)

Also available in: Atom PDF