[GRASS-SVN] r31369 - grass/branches/develbranch_6/raster/r.his
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 16 13:02:53 EDT 2008
Author: epatton
Date: 2008-05-16 13:02:53 -0400 (Fri, 16 May 2008)
New Revision: 31369
Modified:
grass/branches/develbranch_6/raster/r.his/description.html
Log:
Backported html udpates from TRUNK: r31368
Modified: grass/branches/develbranch_6/raster/r.his/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.his/description.html 2008-05-16 17:01:40 UTC (rev 31368)
+++ grass/branches/develbranch_6/raster/r.his/description.html 2008-05-16 17:02:53 UTC (rev 31369)
@@ -1,26 +1,26 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-<EM>his</EM> stands for hue, intensity, and saturation.
+<i>his</i> stands for hue, intensity, and saturation.
This program produces red, green and blue raster map layers
providing a visually pleasing combination of hue,
intensity, and saturation values from two or three
user-specified raster map layers.
-<P>
+<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
+Color, or <i>hue</i>, is used to categorize objects.
+Shading, or <i>intensity</i>, is interpreted as
three-dimensional texturing. Finally, the degree of
-haziness, or <EM>saturation</EM>, is associated with
+haziness, or <i>saturation</i>, 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
-<EM>hue</EM>, <EM>intensity</EM>, and <EM>saturation</EM>.
+<i>hue</i>, <i>intensity</i>, and <i>saturation</i>.
-<P>
+<p>
While any raster map layer can be used to represent the hue
information, map layers with a few very distinct colors
@@ -29,69 +29,69 @@
intensities, or amounts can suitably be used to provide
intensity and saturation information.
-<P>
+<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
+a watershed map for the <i>hue</i> factor, an aspect map
+for the <i>intensity</i> factor, and an elevation map for
+<i>saturation</i>. (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.
-<H2>THE PROCESS</H2>
+<h3>The Process</h3>
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
+map layer chosen to represent <i>HUE</i>. Second, this
+color is multiplied by the <i>red</i> intensity of that
+cell in the <i>INTENSITY</i> 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="d.colors.html">d.colors</A></EM> or
-<EM><A HREF="r.colors.html">r.colors</A></EM>.
+<em><a href="d.colors.html">d.colors</a></em> or
+<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
+<i>red</i> intensity of that cell in the
+<i>SATURATION</i> map layer. Again, this map layer
should have a gray-scale color table associated with it.
-<H2>NOTES</H2>
+<h2>NOTES</h2>
The name is misleading. The actual conversion used is
-<PRE>
- <U>H</U>.i.s + <U>G</U>.(1-s)
+<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
+ <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)
+ <u>G</u> is 50% gray (R = G = B = 0.5)
-</PRE>
+</pre>
-<P>
+<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>.
+<i>his, hi,</i> or <i>hs</i>.
-The separate <EM>red</EM>, <EM>green</EM> and <EM>blue</EM>
+The separate <i>red</i>, <i>green</i> and <i>blue</i>
maps can be displayed on the graphics monitor using
-<EM><A HREF="d.rgb.html">d.rgb</A></EM>, or combined into
+<em><a href="d.rgb.html">d.rgb</a></em>, or combined into
a composite RGB layer using
-<EM><A HREF="r.composite.html">r.composite</A></EM>.
+<em><a href="r.composite.html">r.composite</a></em>.
-Users wishing to simply display an <EM>his</EM> composite
+Users wishing to simply display an <i>his</i> composite
image without actually generating any layers should use the
-program <EM><A HREF="d.his.html">d.his</A></EM>.
+program <em><a href="d.his.html">d.his</a></em>.
-<H2>EXAMPLE</H2>
+<h2>EXAMPLE</h2>
Recreate the following <em>d.his</em> command using <em>r.his</em>:
<div class="code"><pre>
@@ -102,25 +102,25 @@
<div class="code"><pre>
r.mapcalc 'elev.shad_relf_bright50 = #elev.shad_relf * 1.5'
r.colors elev.shad_relf_bright50 color=grey255
- r.his h=elevation.dem i=elev.shad_relf_bright50 r=esr.r g=esr.g b=esr.b
- d.rgb r=esr.r g=esr.g b=esr.b
+ 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
</pre></div>
-<H2>SEE ALSO</H2>
+<h2>SEE ALSO</h2>
-<EM><A HREF="d.his.html">d.his</A></EM>,
-<EM><A HREF="d.colors.html">d.colors</A></EM>,
-<EM><A HREF="d.colortable.html">d.colortable</A></EM>,
-<EM><A HREF="d.rgb.html">d.rgb</A></EM>,
-<EM><A HREF="r.blend.html">r.blend</A></EM>,
-<EM><A HREF="r.colors.html">r.colors</A></EM>,
-<EM><A HREF="r.composite.html">r.composite</A></EM>
-<EM><A HREF="i.his.rgb.html">i.his.rgb</A></EM>,
-<EM><A HREF="i.rgb.his.html">i.rgb.his</A></EM>
+<em><a href="d.his.html">d.his</a></em>,
+<em><a href="d.colors.html">d.colors</a></em>,
+<em><a href="d.colortable.html">d.colortable</a></em>,
+<em><a href="d.rgb.html">d.rgb</a></em>,
+<em><a href="r.blend.html">r.blend</a></em>,
+<em><a href="r.colors.html">r.colors</a></em>,
+<em><a href="r.composite.html">r.composite</a></em>
+<em><a href="i.his.rgb.html">i.his.rgb</a></em>,
+<em><a href="i.rgb.his.html">i.rgb.his</a></em>
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
-Glynn Clements (based upon <EM><A HREF="d.his.html">d.his</A></EM>)
+Glynn Clements (based upon <em><a href="d.his.html">d.his</a></em>)
<p><i>Last changed: $Date$</i>
More information about the grass-commit
mailing list