[GRASS-SVN] r52736 - grass/trunk/display/d.rgb

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 19 14:21:22 PDT 2012


Author: martinl
Date: 2012-08-19 14:21:22 -0700 (Sun, 19 Aug 2012)
New Revision: 52736

Modified:
   grass/trunk/display/d.rgb/d.rgb.html
Log:
d.rgb: major manual clean up


Modified: grass/trunk/display/d.rgb/d.rgb.html
===================================================================
--- grass/trunk/display/d.rgb/d.rgb.html	2012-08-19 17:27:12 UTC (rev 52735)
+++ grass/trunk/display/d.rgb/d.rgb.html	2012-08-19 21:21:22 UTC (rev 52736)
@@ -1,77 +1,42 @@
 <h2>DESCRIPTION</h2>
 
-<em>RGB</em> stands for red, green, and blue. This program
-visually combines three raster map layers to form a color
-image. 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 grey-scale color table.
+<em>RGB</em> stands for <b>red</b>, <b>green</b>,
+and <b>blue</b>. <em>d.rgb</em> visually combines three raster maps to
+form a color image. For each map, 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 input raster maps should use a
+grey-scale color table.
 
-<h2>OPTIONS</h2>
-
-<h3>Flags:</h3> 
-
-<dl>
-
-<dt><b>-o</b>
-
-<dd>Overlay the resulting raster map layer onto whatever is already
-displayed in the active graphics frame. Any no-data areas in any of
-the named raster maps will seem transparent, and reveal the underlying
-image previously displayed in the graphics frame. If the <b>-o</b>
-flag is set, only cells containing non-null values will be displayed
-from the <em>overlaid</em> raster map. All other areas (i.e., the
-portions of the overlaid map that contain null values) will leave the
-underlying display untouched.
-
-</dl>
-
-<h3>Parameters:</h3>
-
-<dl>
-<dt><b>red=</b><em>name</em>
-<dd>Name of raster map layer to be used for RED component. 
-<dt><b>green=</b><em>name</em>
-<dd>Name of raster map layer to be used for GREEN component. 
-<dt><b>blue=</b><em>name</em>
-<dd>Name of raster map layer to be used for BLUE component. 
-</dl>
-
 <h2>NOTES</h2>
 
-This is a new version of <b>d.rgb</b>, which sends the
-data to the graphics monitor in true-color RGB format.
+<em>d.rgb</em> does not attempt to quantize the combined image into a
+fixed number of colors. Nor does it have an option to generate a
+composite layer.
 
-Unlike the previous version, it does not attempt to
-quantize the combined image into a fixed number of colors. 
-Nor does it have an option to generate a composite layer.
+The image and raster maps will not display properly if the graphics
+device does not have a reasonable sampling of the RGB color-space.
 
-The image and raster map layers will not display properly
-if the graphics device does not have a reasonable sampling
-of the RGB color-space.
 <p>
-If color quality of satellite image color composites seems to appear poor,
-run <em><a href="r.colors.html">r.colors</a></em> on the selected satellite 
-channels.<p>Example:
-<dl>
-<dd><b>r.info -r</b> <em>image.1</em><br>
-<tt>min=0<br>
-max=255</tt><br>
+If color quality of satellite image color composites seems to appear
+poor, run <em><a href="r.colors.html">r.colors</a></em> on the
+selected satellite channels.<p>Example:
 
-<dd><b>r.colors map=</b><em>image.1</em> <b>color=</b><em>rules</em> 
-<< EOF<br>
-0 black<br>
-255 white<br>
-EOF<br>
+<div class="code"><pre>
+r.info -r image.1
 
-<dd><b>r.colors map=</b><em>image.2</em> <b>rast=</b><em>image.1</em>
-<dd><b>r.colors map=</b><em>image.3</em> <b>rast=</b><em>image.1</em>
-</dl>
+min=0
+max=255
 
+r.colors map=image.1 color=grey
+
+r.colors map=image.2 rast=image.1
+r.colors map=image.3 rast=image.1
+</pre></div>
+
 <em>Note: Future GRASS versions may do this for you automatically.</em>
-<p>
 
-To write out the color composite to a R/G/B raster maps, use 
+<p>
+To write out the color composite to a R/G/B raster maps, use
 <em><a href="r.composite.html">r.composite</a></em>.
 
 
@@ -91,4 +56,5 @@
 
 Glynn Clements
 
-<p><i>Last changed: $Date$</i>
+<p>
+<i>Last changed: $Date$</i>



More information about the grass-commit mailing list