123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <h2>DESCRIPTION</h2>
- <em>HIS</em> stands for hue, intensity, and saturation.
- This program produces a raster map layer providing a
- visually pleasing combination of hue, intensity, and
- saturation values from two or three user-specified raster
- map layers.
- <p>
- The human brain automatically interprets the vast amount of
- visual information available according to basic rules.
- Color, or <em>hue</em>, is used to categorize objects.
- Shading, or <em>intensity</em>, is interpreted as
- three-dimensional texturing. Finally, the degree of
- haziness, or <em>saturation</em>, is associated with
- distance or depth. This program allows data from up to
- three raster map layers to be combined into an image which
- retains the original information in terms of <em>hue</em>,
- <em>intensity</em>, and <em>saturation</em>.
- <h2>OPTIONS</h2>
- This program can be run non-interactively or
- interactively. It will run non-interactively if the user
- specifies on the command line the name of a map containing
- hue values (<b>hue</b>), and the name(s) of map(s)
- containing intensity values (<b>intensity</b>) and/or
- saturation values (<b>saturation</b>). The resulting image will
- be displayed in the active display frame on the graphics
- monitor.
- <p>
- Alternately, the user can run the program interactively by
- typing <b>d.his</b> without naming parameter values on the
- command line. In this case, the program will prompt the
- user for parameter values using the standard GRASS
- GUI interface.
- <p>
- 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.
- <p>
- For example, a visually pleasing image can be
- made by using a watershed map for the <em>hue</em> factor,
- an aspect map for the <em>intensity</em> factor, and an
- elevation map for <em>saturation</em>. (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.
- <p>The <b>brighten</b> option does not truly represent a percentage,
- but calling it that makes the option easy to understand, and it
- sounds better than <i>Normalized Scaling Factor</i>.
- <h2>THE PROCESS</h2>
- Each map cell is processed individually. First, the working
- color is set to the color of the corresponding cell in the
- map layer chosen to represent <em>hue</em>. Second, this
- color is multiplied by the <em>red</em> intensity of that
- cell in the <em>intensity</em> map layer. This map layer
- should have an appropriate gray-scale color table
- associated with it. You can ensure this by using the color
- manipulation capabilities of
- <em><a href="r.colors.html">r.colors</a></em>.
- Finally, the color is made somewhat gray-based on the
- <em>red</em> intensity of that cell in the
- <em>saturation</em> map layer. Again, this map layer
- should have a gray-scale color table associated with it.
- <h2>NOTES</h2>
- The name is misleading. The actual conversion used is
- <div class="code"><pre>
- <u>H</u>.i.s + <u>G</u>.(1-s)
- where
- <u>H</u> 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
- <u>G</u> is 50% gray (R = G = B = 0.5)
- </pre></div>
- <p>
- 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
- <em>his, hi,</em> or <em>hs</em>.
- <p>Users wishing to store the result in new raster map layers
- instead of displaying it on the monitor should use the
- command <em><a href="r.his.html">r.his</a></em>.
- <h2>EXAMPLE</h2>
- <div class="code"><pre>
- g.region raster=elevation
- r.relief input=elevation output=elevation_shaded_relief
- d.mon wx0
- d.his hue=elevation intensity=elevation_shaded_relief brighten=50
- </pre></div>
- <h2>SEE ALSO</h2>
- <em>
- <a href="d.colortable.html">d.colortable</a>,
- <a href="d.frame.html">d.frame</a>,
- <a href="d.rgb.html">d.rgb</a>,
- <a href="d.shade.html">d.shade</a>,
- <a href="r.colors.html">r.colors</a>,
- <a href="r.his.html">r.his</a>,
- <a href="i.his.rgb.html">i.his.rgb</a>,
- <a href="i.rgb.his.html">i.rgb.his</a>
- </em>
- <h2>AUTHOR</h2>
- James Westervelt, U.S. Army Construction Engineering Research Laboratory
- <p><i>Last changed: $Date$</i>
|