Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.
The human brain automatically interprets the vast amount of visual information available according to basic rules. Color, or hue, is used to categorize objects. Shading, or intensity, is interpreted as three-dimensional texturing. Finally, the degree of haziness, or saturation, is associated with distance or depth. This program allows data from up to three raster map layers to be combined into a color image (in the form of separate red, green and blue raster map layers) which retains the original information in terms of hue, intensity, and saturation.
While any raster map layer can be used to represent the hue information, map layers with a few very distinct colors work best. Only raster map layers representing continuously varying data like elevation, aspect, weights, intensities, or amounts can suitably be used to provide intensity and saturation information.
For example, a visually pleasing image can be made by using a watershed map for the hue factor, an aspect map for the intensity factor, and an elevation map for saturation. (The user may wish to leave out the elevation information for a first try.) Ideally, the resulting image should resemble the view from an aircraft looking at a terrain on a sunny day with a bit of haze in the valleys.
H.i.s + G.(1-s) where H is the R,G,B color from the hue map i is the red value from the intensity map s is the red value from the saturation map G is 50% gray (R = G = B = 0.5)
Either (but not both) of the intensity or the saturation map layers may be omitted. This means that it is possible to produce output images that represent combinations of his, hi, or hs. The separate red, green and blue maps can be displayed on the graphics monitor using d.rgb, or combined into a composite RGB layer using r.composite. Users wishing to simply display an his composite image without actually generating any layers should use the program d.his.
r.shaded.relief map=elevation.dem shad=elev.shad_relf d.his h=elevation.dem i=elev.shad_relf brighten=50
r.mapcalc 'elev.shad_relf_bright50 = #elev.shad_relf * 1.5' r.colors elev.shad_relf_bright50 color=grey255 r.his h_map=elevation.dem i_map=elev.shad_relf_bright50 r_map=esr.r g_map=esr.g bmap=esr.b d.rgb red=esr.r green=esr.g blue=esr.b
Last changed: $Date: 2008-05-16 10:02:53 -0700 (Fri, 16 May 2008) $
Main index - raster index - Full index
© 2003-2014 GRASS Development Team