[GRASS-SVN] r30359 - grass/trunk/raster/r.composite
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 26 14:04:18 EST 2008
Author: epatton
Date: 2008-02-26 14:04:18 -0500 (Tue, 26 Feb 2008)
New Revision: 30359
Modified:
grass/trunk/raster/r.composite/description.html
Log:
Added example, link to dithering reference, minor tweaks
Modified: grass/trunk/raster/r.composite/description.html
===================================================================
--- grass/trunk/raster/r.composite/description.html 2008-02-26 16:36:59 UTC (rev 30358)
+++ grass/trunk/raster/r.composite/description.html 2008-02-26 19:04:18 UTC (rev 30359)
@@ -1,34 +1,45 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-This program combines three raster map layers to form a
-composite RGB layer. For each layer, the corresponding
-component from the layer's color table is used (e.g. for
-the red layer, the red component is used, and so on). In
-general, the layers should use a gray-scale color table.
+This program combines three raster maps to form a
+composite RGB map. For each input map layer, the corresponding
+component from the map's color table is used (e.g. for
+the red map, the red component is used, and so on). In
+general, the maps should use a gray-scale color table.
-<H2>NOTES</H2>
+<h2>NOTES</h2>
The default number of intensity levels for each component is 32,
resulting in a total of 32768 possible colors (equivalent to 15 bits
per pixel). If significantly more levels than this are used, not only
-will <EM>r.composite</EM> take longer to run, but displaying the
-resulting layer with <EM><A HREF="d.rast.html">d.rast</A></EM> will
+will <em>r.composite</em> take longer to run, but displaying the
+resulting layer with <em><a href="d.rast.html">d.rast</a></em> will
also be significantly slower.
-<P>
-Floyd-Steinberg dithering is optionally used.
+<p>
+Floyd-Steinberg dithering is optionally used with the <b>-d</b> flag.
-<H2>SEE ALSO</H2>
+<h2>EXAMPLE</h2>
+Creating a composite RGB raster using 32 color levels per layer, with dithering:
-<EM>
-<A HREF="d.rast.html">d.rast</A></EM>,
-<A HREF="d.rgb.html">d.rgb</A></EM>,
-<A HREF="r.blend.html">r.blend</A>,
-<A HREF="r.colors.html">r.colors</A>
-</EM>
+<div class="code"><pre>
+r.composite -d red=elevation.r green=elevation.g blue=elevation.b output=elev.composite
+</pre></div>
-<H2>AUTHOR</H2>
+<h2>SEE ALSO</h2>
+<em>
+<a href="d.rast.html">d.rast</a>,
+<a href="d.rgb.html">d.rgb</a>,
+<a href="r.blend.html">r.blend</a>,
+<a href="r.colors.html">r.colors</a>
+</em>
+<p>
+<em>
+<a href="http://en.wikipedia.org/wiki/Floyd-Steinberg_dithering">Wikipedia Entry: Floyd-Steinberg dithering</a>
+</em>
+
+<h2>AUTHOR</h2>
+
Glynn Clements
<p><i>Last changed: $Date$</i>
More information about the grass-commit
mailing list