|
@@ -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>
|
|
|
+<h2>NOTES</h2>
|
|
|
|
|
|
-<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.
|
|
|
+<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.
|
|
|
|
|
|
-</dl>
|
|
|
+The image and raster maps will not display properly if the graphics
|
|
|
+device does not have a reasonable sampling of the RGB color-space.
|
|
|
|
|
|
-<h3>Parameters:</h3>
|
|
|
+<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>
|
|
|
-<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>
|
|
|
+<div class="code"><pre>
|
|
|
+r.info -r image.1
|
|
|
|
|
|
-<h2>NOTES</h2>
|
|
|
+min=0
|
|
|
+max=255
|
|
|
|
|
|
-This is a new version of <b>d.rgb</b>, which sends the
|
|
|
-data to the graphics monitor in true-color RGB format.
|
|
|
+r.colors map=image.1 color=grey
|
|
|
|
|
|
-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 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>
|
|
|
-
|
|
|
-<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>
|
|
|
-
|
|
|
-<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>
|
|
|
+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 @@ To write out the color composite to a R/G/B raster maps, use
|
|
|
|
|
|
Glynn Clements
|
|
|
|
|
|
-<p><i>Last changed: $Date$</i>
|
|
|
+<p>
|
|
|
+<i>Last changed: $Date$</i>
|