DESCRIPTION

The r.colors.contrastbrightness module generates a contrasted version of the input raster map. The contrast is the gain of the affine transform, use values of 1.0-3.0 in case of an 8 bit image. The brightness is the bias of the affine transform, use values of 0.0-100.0 in case of an 8 bit image.

EXAMPLES

Contrast enhancement of an 8-bit raster band This does nothing to the image:
r.colors.contrastbrightness min=0.0 max=255.0 contrast=1.0 brightness=0.0 input=myinraster output=myoutraster
This does change the contrast of the image:
r.colors.contrastbrightness min=0.0 max=255.0 contrast=3.0 brightness=0.0 input=myinraster output=myoutraster
This does change the brightness of the image:
r.colors.contrastbrightness min=0.0 max=255.0 contrast=1.0 brightness=100.0 input=myinraster output=myoutraster

SEE ALSO

r.colors, v.colors, r3.colors, r.cpt2grass, r.colors.matplotlib

AUTHOR

Yann Chemin, JRC, Ispra, Italy

Last changed: $Date$