|
The goal is to add some standards remote sensing linear contrast enhancement methods to GeoTools and GeoServer (like this http://www.r-s-c-c.org/node/240) with the ability to control the parameters for the stretch which is not possible via the standard SLD:
We need to extend SLD parsing and processing to apply at least linear contrast stretch as per the following elements:
<ContrastEnhancement> <Normalize> <Algorithm>ClipToMinimumMaximum|StretchToMinimumMaximum|StretchAndClipToMinimumMaximum</Algorithm> <Parameter name=”minValue”>1</Parameter> <Parameter name=”maxValue”>1</Parameter> </Normalize> </ContrastEnhancement>
and
-
{ raster-channels: auto; raster-contrast-enhancement: normalize; raster-contrast-enhancement-algorithm: ClipToMinimumMaximum; raster-contrast-enhancement-parameter: min 20 max 30; raster-gamma : 0.5; raster-color-map: color-map-entry(#008000, 70) color-map-entry(#663333, 256); raster-gamma: 0.5; }
|